PHP 클래스 Symfony\Component\HttpKernel\BaseHttpKernel

저자: Fabien Potencier ([email protected])
상속: implements Symfony\Component\HttpKernel\HttpKernelInterface
파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks 1 사용 예제들

보호된 프로퍼티들

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

공개 메소드들

메소드 설명
__construct ( EventDispatcher $dispatcher, Symfony\Component\HttpKernel\Controller\ControllerResolverInterface $resolver ) Constructor
handle ( Request $request, $type = HttpKernelInterface::MASTER_REQUEST, $catch = true )

보호된 메소드들

메소드 설명
filterResponse ( Response $response, $request, string $message, integer $type ) : Response Filters a response object.
handleRaw ( Request $request, integer $type = self::MASTER_REQUEST ) : Response Handles a request to convert it to a response.

메소드 상세

__construct() 공개 메소드

Constructor
public __construct ( EventDispatcher $dispatcher, Symfony\Component\HttpKernel\Controller\ControllerResolverInterface $resolver )
$dispatcher Symfony\Component\EventDispatcher\EventDispatcher An event dispatcher instance
$resolver Symfony\Component\HttpKernel\Controller\ControllerResolverInterface A ControllerResolverInterface instance

filterResponse() 보호된 메소드

Filters a response object.
protected filterResponse ( Response $response, $request, string $message, integer $type ) : Response
$response Symfony\Component\HttpFoundation\Response A Response instance
$message string A error message in case the response is not a Response object
$type integer The type of the request (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
리턴 Symfony\Component\HttpFoundation\Response The filtered Response instance

handle() 공개 메소드

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

handleRaw() 보호된 메소드

Exceptions are not caught.
protected handleRaw ( Request $request, integer $type = self::MASTER_REQUEST ) : Response
$request Symfony\Component\HttpFoundation\Request A Request instance
$type integer The type of the request (one of HttpKernelInterface::MASTER_REQUEST or HttpKernelInterface::SUB_REQUEST)
리턴 Symfony\Component\HttpFoundation\Response A Response instance

프로퍼티 상세

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

protected $dispatcher

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

protected $resolver