PHP 인터페이스 Symfony\Component\HttpKernel\HttpKernelInterface

저자: Fabien Potencier ([email protected])
파일 보기 프로젝트 열기: pmjones/php-framework-benchmarks 0 사용 예제들

공개 메소드들

메소드 설명
handle ( Request $request, integer $type = self::MASTER_REQUEST, boolean $catch = true ) : Response Handles a Request to convert it to a Response.
handle ( Request $request, integer $type = self::MASTER_REQUEST, boolean $catch = true ) : Response Handles a Request to convert it to a Response.

메소드 상세

handle() 공개 메소드

When $catch is true, the implementation must catch all exceptions and do its best to convert them to a Response instance.
public handle ( Request $request, integer $type = self::MASTER_REQUEST, boolean $catch = true ) : 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)
$catch boolean Whether to catch exceptions or not
리턴 Response A Response instance

handle() 공개 메소드

When $catch is true, the implementation must catch all exceptions and do its best to convert them to a Response instance.
public handle ( Request $request, integer $type = self::MASTER_REQUEST, boolean $catch = true ) : 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)
$catch boolean Whether to catch exceptions or not
리턴 Symfony\Component\HttpFoundation\Response A Response instance