mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 00:02:41 +01:00
b6d745b666
Summary: All classes should extend from some other class. See D13275 for some explanation. Test Plan: `arc unit` Reviewers: epriestley, #blessed_reviewers Reviewed By: epriestley, #blessed_reviewers Subscribers: epriestley, Korvin Differential Revision: https://secure.phabricator.com/D13283
18 lines
406 B
PHP
18 lines
406 B
PHP
<?php
|
|
|
|
/**
|
|
* Indirection layer which provisions for a terrifying future where we need to
|
|
* build multiple resource responses per page.
|
|
*/
|
|
final class CelerityAPI extends Phobject {
|
|
|
|
private static $response;
|
|
|
|
public static function getStaticResourceResponse() {
|
|
if (empty(self::$response)) {
|
|
self::$response = new CelerityStaticResourceResponse();
|
|
}
|
|
return self::$response;
|
|
}
|
|
|
|
}
|