PHP Class Phly\Conduit\Route

Details the subpath on which the middleware is active, and the handler for the middleware itself.
Datei anzeigen Open project: phly/conduit

Protected Properties

Property Type Description
$handler callable
$path string

Public Methods

Method Description
__construct ( string $path, callable $handler )
__get ( mixed $name ) : mixed

Method Details

__construct() public method

public __construct ( string $path, callable $handler )
$path string
$handler callable

__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