PHP Класс Phprest\Middleware\ApiVersion

Наследование: implements Symfony\Component\HttpKernel\HttpKernelInterface, use trait Phprest\Util\Mime
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$app Phprest\Application

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

Метод Описание
__construct ( Application $app )
handle ( Request $request, integer $type = self::MASTER_REQUEST, boolean $catch = true ) : Response

Защищенные методы

Метод Описание
getContainer ( ) : League\Container\ContainerInterface Returns the DI container.

Описание методов

__construct() публичный метод

public __construct ( Application $app )
$app Phprest\Application

getContainer() защищенный метод

Returns the DI container.
protected getContainer ( ) : League\Container\ContainerInterface
Результат League\Container\ContainerInterface

handle() публичный метод

public handle ( Request $request, integer $type = self::MASTER_REQUEST, boolean $catch = true ) : Response
$request Symfony\Component\HttpFoundation\Request
$type integer
$catch boolean
Результат Symfony\Component\HttpFoundation\Response

Описание свойств

$app защищенное свойство

protected Application,Phprest $app
Результат Phprest\Application