/** * Get Response instance * * @api * @return Http\Response */ public function getResponse() { return Response::getInstance(); }
/** * Init instance * * @return Instance */ protected static function initInstance() { if ('cli' === PHP_SAPI) { return new Nil(); } else { return new Instance(Response::getInstance()); } }