PHP Class Autarky\Http\Kernel

Inheritance: implements Symfony\Component\HttpKernel\HttpKernelInterface, implements Symfony\Component\HttpKernel\TerminableInterface
Afficher le fichier Open project: autarky/framework

Protected Properties

Свойство Type Description
$errorHandler Autarky\Errors\ErrorHandlerInterface
$eventDispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$requests Symfony\Component\HttpFoundation\RequestStack
$router Autarky\Routing\RouterInterface

Méthodes publiques

Méthode Description
__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 )

Méthodes protégées

Méthode Description
filterResponse ( Response $response, Request $request, $type )
finishRequest ( Request $request, $type )
handleException ( Exception $exception, Request $request, $type )
innerHandle ( Request $request, $type )

Method Details

__construct() public méthode

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 méthode

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

finishRequest() protected méthode

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

handle() public méthode

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

handleException() protected méthode

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

innerHandle() protected méthode

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

terminate() public méthode

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

Property Details

$errorHandler protected_oe property

protected ErrorHandlerInterface,Autarky\Errors $errorHandler
Résultat Autarky\Errors\ErrorHandlerInterface

$eventDispatcher protected_oe property

protected EventDispatcherInterface,Symfony\Component\EventDispatcher $eventDispatcher
Résultat Symfony\Component\EventDispatcher\EventDispatcherInterface

$requests protected_oe property

protected RequestStack,Symfony\Component\HttpFoundation $requests
Résultat Symfony\Component\HttpFoundation\RequestStack

$router protected_oe property

protected RouterInterface,Autarky\Routing $router
Résultat Autarky\Routing\RouterInterface