$name
$name : string
A container for routes.
set(null|string $rule, callable $action = null, null|string|array $method = null, null|string $info = null) : $this
Set values for route.
| null|string | $rule | for this route |
| callable | $action | callable to implement a controller for the route |
| null|string|array | $method | as request method to support |
| null|string | $info | description of the route |
checkPartAsArgument(string $rulePart, string $queryPart, $args) : boolean
Check if part of route is a argument and optionally match type as a requirement {argument:type}.
| string | $rulePart | the rule part to check. |
| string | $queryPart | the query part to check. |
| $args |