mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-24 15:52:41 +01:00
c728c0ac60
Summary: Ref T5702. This primarily gets URI routing out of Aphront and into an Application, for consistency. Test Plan: Loaded some pages, got static resources. Reviewers: chad, btrahan Reviewed By: btrahan Subscribers: epriestley Maniphest Tasks: T5702 Differential Revision: https://secure.phabricator.com/D10696
18 lines
389 B
PHP
18 lines
389 B
PHP
<?php
|
|
|
|
/**
|
|
* 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;
|
|
}
|
|
|
|
}
|