Class Route
A route.
- ICanBoogie\Object
- ┗ ICanBoogie\Routing\Route
Methods summary
public
__construct( ICanBoogie\Routing\Routes
$routes
, string $pattern
, array $properties
)
Initializes the $pattern property and the properties provided.
protected
assert_properties_are_valid( array $properties
, array $invalid
)
Asserts that properties are valid.
public
format( object|array|null $values
= null )
: ICanBoogie\Routing\FormattedRoute
Formats the route with the specified values.
public
assign( mixed $formatting_value
)
: ICanBoogie\Routing\Route
Assigns a formatting value to a route.