Documentation

RouteCompiler
in package

Table of Contents

$route  : Route
The route instance.
__construct()  : void
Create a new Route compiler instance.
compile()  : CompiledRoute
Compile the route.
getOptionalParameters()  : array<string|int, mixed>
Get the optional parameters for the route.

Properties

Methods

__construct()

Create a new Route compiler instance.

public __construct(Route $route) : void
Parameters
$route : Route
Return values
void

getOptionalParameters()

Get the optional parameters for the route.

protected getOptionalParameters() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results