PHP Class Zend\Stratigility\Route

Details the subpath on which the middleware is active, and the handler for the middleware itself.
Afficher le fichier Open project: zendframework/zend-stratigility

Protected Properties

Свойство Type Description
$handler callable
$path string

Méthodes publiques

Méthode Description
__construct ( string $path, callable | Interop\Http\Middleware\MiddlewareInterface | Interop\Http\Middleware\ServerMiddlewareInterface $handler )
__get ( mixed $name ) : mixed

Method Details

__construct() public méthode

public __construct ( string $path, callable | Interop\Http\Middleware\MiddlewareInterface | Interop\Http\Middleware\ServerMiddlewareInterface $handler )
$path string
$handler callable | Interop\Http\Middleware\MiddlewareInterface | Interop\Http\Middleware\ServerMiddlewareInterface

__get() public méthode

public __get ( mixed $name ) : mixed
$name mixed
Résultat mixed

Property Details

$handler protected_oe property

protected callable $handler
Résultat callable

$path protected_oe property

protected string $path
Résultat string