1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-24 05:28:18 +01:00
phorge-phorge/src/applications/celerity/CelerityAPI.php

19 lines
406 B
PHP
Raw Normal View History

<?php
2011-07-04 11:22:42 -07:00
/**
* 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;
}
}