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
Tue, Jul 29, 13:49 (2 h, 51 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2789716
Default Alt Text
ProjectsMapFactory.php (700 B)

Event Timeline