interface OutboundRouteProcessorInterface (View source)

Defines an interface for classes that process the outbound route.

Methods

The
processOutbound(string $route_name, Route $route, array $parameters, BubbleableMetadata $bubbleable_metadata = NULL)

Processes the outbound route.

Details

The processOutbound(string $route_name, Route $route, array $parameters, BubbleableMetadata $bubbleable_metadata = NULL)

Processes the outbound route.

Parameters

string $route_name

The route name.

Route $route

The outbound route to process.

array $parameters

An array of parameters to be passed to the route compiler. Passed by reference.

BubbleableMetadata $bubbleable_metadata

(optional) Object to collect route processors' bubbleable metadata.

Return Value

The

processed path.