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

File Metadata

Mime Type
text/x-php
Expires
Sat, Oct 11, 21:23 (1 d, 24 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3064071
Default Alt Text
ProjectsMapFactory.php (670 B)

Event Timeline