PHP Class Phprest\Middleware\ApiVersion

Inheritance: implements Symfony\Component\HttpKernel\HttpKernelInterface, use trait Phprest\Util\Mime
Afficher le fichier Open project: phprest/phprest Class Usage Examples

Protected Properties

Свойство Type Description
$app Phprest\Application

Méthodes publiques

Méthode Description
__construct ( Application $app )
handle ( Request $request, integer $type = self::MASTER_REQUEST, boolean $catch = true ) : Response

Méthodes protégées

Méthode Description
getContainer ( ) : League\Container\ContainerInterface Returns the DI container.

Method Details

__construct() public méthode

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

getContainer() protected méthode

Returns the DI container.
protected getContainer ( ) : League\Container\ContainerInterface
Résultat League\Container\ContainerInterface

handle() public méthode

public handle ( Request $request, integer $type = self::MASTER_REQUEST, boolean $catch = true ) : Response
$request Symfony\Component\HttpFoundation\Request
$type integer
$catch boolean
Résultat Symfony\Component\HttpFoundation\Response

Property Details

$app protected_oe property

protected Application,Phprest $app
Résultat Phprest\Application