1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-14 19:02:41 +01:00
phorge-phorge/src/applications/celerity/CelerityAPI.php

19 lines
389 B
PHP
Raw Normal View History

<?php
2011-07-04 20:22:42 +02:00
/**
* Indirection layer which provisions for a terrifying future where we need to
* build multiple resource responses per page.
*/
final class CelerityAPI {
private static $response;
public static function getStaticResourceResponse() {
if (empty(self::$response)) {
self::$response = new CelerityStaticResourceResponse();
}
return self::$response;
}
}