RouteCompiler

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

© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.6/Illuminate/Routing/RouteCompiler.html