RouteProcessor
class RouteProcessor implements OutboundRouteProcessorInterface (View source)
Processes the backwards-compatibility layer for path alias routes.
Properties
| protected RouteProviderInterface | $routeProvider | The route provider. |
Methods
The
processOutbound(string $route_name, Route $route, array $parameters, BubbleableMetadata $bubbleable_metadata = NULL)
Processes the outbound route.
static
overwriteRoute(Route $target_route, Route $source_route)
Overwrites one route's metadata with the other's.
Details
__construct(RouteProviderInterface $route_provider)
Constructs a RouteProcessor object.
The
processOutbound(string $route_name, Route $route, array $parameters, BubbleableMetadata $bubbleable_metadata = NULL)
Processes the outbound route.
static protected
overwriteRoute(Route $target_route, Route $source_route)
Overwrites one route's metadata with the other's.