Something went wrong. Try again.
@recaptime-dev's working patches + fork for Phorge, a community fork of Phabricator. (Upstream dev and stable branches are at upstream/main and upstream/stable respectively.) hq.recaptime.dev/wiki/Phorge
phorge phabricator
Something went wrong. Try again.
406 B · 18 lines
PHP
12345678910111213141516171819<?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; }
}