PHP Class Zend\Stratigility\Route

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

Protected Properties

Property Type Description
$handler callable
$path string

Public Methods

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

Method Details

__construct() public method

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 method

public __get ( mixed $name ) : mixed
$name mixed
return mixed

Property Details

$handler protected_oe property

protected callable $handler
return callable

$path protected_oe property

protected string $path
return string