Bluz\Proxy\HttpCacheControl::initInstance PHP Method

initInstance() protected static method

Init instance
protected static initInstance ( ) : CacheControl | Bluz\Common\Nil
return Bluz\Http\CacheControl | Bluz\Common\Nil
    protected static function initInstance()
    {
        if ('cli' === PHP_SAPI) {
            return new Nil();
        } else {
            return new Instance(Response::getInstance());
        }
    }
HttpCacheControl