Page MenuHomeDevCentral

ProjectsMapFactory.php
No OneTemporary

ProjectsMapFactory.php

<?php
namespace Nasqueron\Notifications\Phabricator;
class ProjectsMapFactory {
/**
* Loads projects map from cache or fetches it from API if not cached
*
* @param string $instance The Phabricator instance
* @return Nasqueron\Notifications\Phabricator\ProjectsMap
*/
public function load ($instance) {
return ProjectsMap::load($instance);
}
/**
* Fetches projects map from API
*
* @param string $instance The Phabricator instance
* @return Nasqueron\Notifications\Phabricator\ProjectsMap
*/
public function fetch ($instance) {
return ProjectsMap::fetch($instance);
}
}

File Metadata

Mime Type
text/x-php
Expires
Tue, Jul 29, 13:56 (1 d, 12 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2760988
Default Alt Text
ProjectsMapFactory.php (664 B)

Event Timeline