PHP 클래스 Autarky\Http\Kernel

상속: implements Symfony\Component\HttpKernel\HttpKernelInterface, implements Symfony\Component\HttpKernel\TerminableInterface
파일 보기 프로젝트 열기: autarky/framework

보호된 프로퍼티들

프로퍼티 타입 설명
$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