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 $instanceName The Phabricator instance name
* @return Nasqueron\Notifications\Phabricator\ProjectsMap
*/
public function load ($instanceName) {
return ProjectsMap::load($instanceName);
}
/**
* Fetches projects map from API.
*
* @param string $instanceName The Phabricator instance name
* @return Nasqueron\Notifications\Phabricator\ProjectsMap
*/
public function fetch ($instanceName) {
return ProjectsMap::fetch($instanceName);
}
}

File Metadata

Mime Type
text/x-php
Expires
Wed, Jul 2, 21:31 (9 h, 25 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2759299
Default Alt Text
ProjectsMapFactory.php (700 B)

Event Timeline