Property | Type | Description | |
---|---|---|---|
$action | Callable | Route action | |
$method | String | Route method type | |
$parsedRoute | String | Regexp ready route |
Method | Description | |
---|---|---|
__construct ( String $method, String $uri, Callable $action ) | ||
after ( Callable $callback ) : Void | Helper to listing to after event | |
isParsed ( ) : boolean | Check if uri is parsed | |
parse ( ) : void | Parse route uri | |
run ( |
Run the current route | |
where ( String $param, String $filter ) : void | Create a new filter for current route |
public __construct ( String $method, String $uri, Callable $action ) | ||
$method | String | |
$uri | String | |
$action | Callable |
public after ( Callable $callback ) : Void | ||
$callback | Callable | |
return | Void |
public run ( |
||
$request | ||
$response | CapMousse\ReactRestify\Http\Response | |
$next | Callable | |
return | Void |