PHP Интерфейс Symfony\Component\HttpKernel\HttpKernelInterface

Автор: Fabien Potencier ([email protected])
Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
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