class RouteCompiler

Properties

protected Route $route

The route instance.

Methods

void
__construct(Route $route)

Create a new Route compiler instance.

CompiledRoute
compile()

Compile the route.

array
getOptionalParameters()

Get the optional parameters for the route.

Details

at line 22
void __construct(Route $route)

Create a new Route compiler instance.

Parameters

Route $route

Return Value

void

at line 32
CompiledRoute compile()

Compile the route.

Return Value

CompiledRoute

at line 48
protected array getOptionalParameters()

Get the optional parameters for the route.

Return Value

array