Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F10341916
ProjectsMapFactory.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
700 B
Referenced Files
None
Subscribers
None
ProjectsMapFactory.php
View Options
<?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
Details
Attached
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)
Attached To
Mode
rNOTIF Notifications center
Attached
Detach File
Event Timeline
Log In to Comment