PHP 클래스 Symfony\Component\HttpKernel\HttpKernel

저자: Fabien Potencier ([email protected])
상속: extends BaseHttpKernel
파일 보기 프로젝트 열기: symfony/symfony 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$dispatcher
$requestStack
$resolver

공개 메소드들

메소드 설명
__construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, Symfony\Component\HttpKernel\Controller\ControllerResolverInterface $resolver, Symfony\Component\HttpFoundation\RequestStack $requestStack = null, Symfony\Component\HttpKernel\Controller\ArgumentResolverInterface $argumentResolver = null )
handle ( Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true )
terminate ( Request $request, Response $response )
terminateWithException ( Exception $exception )

비공개 메소드들

메소드 설명
filterResponse ( Response $response, Request $request, integer $type ) : Response Filters a response object.
finishRequest ( Request $request, integer $type ) Publishes the finish request event, then pop the request from the stack.
handleException ( Exception $e, Request $request, integer $type ) : Response Handles an exception by trying to convert it to a Response.
handleRaw ( Request $request, integer $type = self::MASTER_REQUEST ) : Response Handles a request to convert it to a response.
varToString ( $var )

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\EventDispatcher\EventDispatcherInterface $dispatcher, Symfony\Component\HttpKernel\Controller\ControllerResolverInterface $resolver, Symfony\Component\HttpFoundation\RequestStack $requestStack = null, Symfony\Component\HttpKernel\Controller\ArgumentResolverInterface $argumentResolver = null )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcherInterface
$resolver Symfony\Component\HttpKernel\Controller\ControllerResolverInterface
$requestStack Symfony\Component\HttpFoundation\RequestStack
$argumentResolver Symfony\Component\HttpKernel\Controller\ArgumentResolverInterface

handle() 공개 메소드

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

terminate() 공개 메소드

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

terminateWithException() 공개 메소드

public terminateWithException ( Exception $exception )
$exception Exception

프로퍼티 상세

$dispatcher 보호되어 있는 프로퍼티

protected $dispatcher

$requestStack 보호되어 있는 프로퍼티

protected $requestStack

$resolver 보호되어 있는 프로퍼티

protected $resolver