class RouteCompiler (View source)

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

void __construct(Route $route)

Create a new Route compiler instance.

Parameters

Route $route

Return Value

void

CompiledRoute compile()

Compile the route.

Return Value

CompiledRoute

protected array getOptionalParameters()

Get the optional parameters for the route.

Return Value

array