PHP Класс Autarky\Http\Kernel

Наследование: implements Symfony\Component\HttpKernel\HttpKernelInterface, implements Symfony\Component\HttpKernel\TerminableInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$errorHandler Autarky\Errors\ErrorHandlerInterface
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$requests Symfony\Component\HttpFoundation\RequestStack
$router Autarky\Routing\RouterInterface

Открытые методы

Метод Описание
__construct ( Autarky\Routing\RouterInterface $router, Symfony\Component\HttpFoundation\RequestStack $requests, Autarky\Errors\ErrorHandlerInterface $errorHandler = null, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher = null )
handle ( Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true )
terminate ( Request $request, Response $response )

Защищенные методы

Метод Описание
filterResponse ( Response $response, Request $request, $type )
finishRequest ( Request $request, $type )
handleException ( Exception $exception, Request $request, $type )
innerHandle ( Request $request, $type )

Описание методов

__construct() публичный метод

public __construct ( Autarky\Routing\RouterInterface $router, Symfony\Component\HttpFoundation\RequestStack $requests, Autarky\Errors\ErrorHandlerInterface $errorHandler = null, Symfony\Component\EventDispatcher\EventDispatcherInterface $eventDispatcher = null )
$router Autarky\Routing\RouterInterface
$requests Symfony\Component\HttpFoundation\RequestStack
$errorHandler Autarky\Errors\ErrorHandlerInterface Optional
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface Optional

filterResponse() защищенный метод

protected filterResponse ( Response $response, Request $request, $type )
$response Symfony\Component\HttpFoundation\Response
$request Symfony\Component\HttpFoundation\Request

finishRequest() защищенный метод

protected finishRequest ( Request $request, $type )
$request Symfony\Component\HttpFoundation\Request

handle() публичный метод

public handle ( Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true )
$request Symfony\Component\HttpFoundation\Request

handleException() защищенный метод

protected handleException ( Exception $exception, Request $request, $type )
$exception Exception
$request Symfony\Component\HttpFoundation\Request

innerHandle() защищенный метод

protected innerHandle ( Request $request, $type )
$request Symfony\Component\HttpFoundation\Request

terminate() публичный метод

public terminate ( Request $request, Response $response )
$request Symfony\Component\HttpFoundation\Request
$response Symfony\Component\HttpFoundation\Response

Описание свойств

$errorHandler защищенное свойство

protected ErrorHandlerInterface,Autarky\Errors $errorHandler
Результат Autarky\Errors\ErrorHandlerInterface

$eventDispatcher защищенное свойство

protected EventDispatcherInterface,Symfony\Component\EventDispatcher $eventDispatcher
Результат Symfony\Component\EventDispatcher\EventDispatcherInterface

$requests защищенное свойство

protected RequestStack,Symfony\Component\HttpFoundation $requests
Результат Symfony\Component\HttpFoundation\RequestStack

$router защищенное свойство

protected RouterInterface,Autarky\Routing $router
Результат Autarky\Routing\RouterInterface