Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F85936956
CelerityAPI.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Thu, Oct 3, 04:20
Size
411 B
Mime Type
text/x-php
Expires
Sat, Oct 5, 04:20 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
21303663
Attached To
rPH Phabricator
CelerityAPI.php
View Options
<?php
/**
* Indirection layer which provisions for a terrifying future where we need to
* build multiple resource responses per page.
*
* @group celerity
*/
final
class
CelerityAPI
{
private
static
$response
;
public
static
function
getStaticResourceResponse
()
{
if
(
empty
(
self
::
$response
))
{
self
::
$response
=
new
CelerityStaticResourceResponse
();
}
return
self
::
$response
;
}
}
Event Timeline
Log In to Comment