PHP 클래스 Symfony\Component\HttpKernel\Event\KernelEvent

저자: Bernhard Schussek ([email protected])
상속: extends Symfony\Component\EventDispatcher\Event
파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( Symfony\Component\HttpKernel\HttpKernelInterface $kernel, Request $request, $requestType )
getKernel ( ) : Symfony\Component\HttpKernel\HttpKernelInterface Returns the kernel in which this event was thrown
getRequest ( ) : Request Returns the request the kernel is currently processing
getRequestType ( ) : integer Returns the request type the kernel is currently processing

메소드 상세

__construct() 공개 메소드

public __construct ( Symfony\Component\HttpKernel\HttpKernelInterface $kernel, Request $request, $requestType )
$kernel Symfony\Component\HttpKernel\HttpKernelInterface
$request Symfony\Component\HttpFoundation\Request

getKernel() 공개 메소드

Returns the kernel in which this event was thrown
public getKernel ( ) : Symfony\Component\HttpKernel\HttpKernelInterface
리턴 Symfony\Component\HttpKernel\HttpKernelInterface

getRequest() 공개 메소드

Returns the request the kernel is currently processing
public getRequest ( ) : Request
리턴 Symfony\Component\HttpFoundation\Request

getRequestType() 공개 메소드

Returns the request type the kernel is currently processing
public getRequestType ( ) : integer
리턴 integer One of HttpKernelInterface::MASTER_REQUEST and HttpKernelInterface::SUB_REQUEST