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

Laravel Cloud is the best place to deploy Laravel, Nuxt, Express, Hono, Node.js, Bun, Go, Flask, Python, and more, with dedicated infrastructure available on AWS through Laravel Private Cloud.