RestResourceGetRouteProcessorBC
class RestResourceGetRouteProcessorBC implements OutboundRouteProcessorInterface (View source)
Processes the BC REST routes, to ensure old route names continue to work.
Properties
| protected string[] | $serializerFormats | The available serialization formats. |
|
| protected RouteProviderInterface | $routeProvider | The route provider. |
Methods
__construct(array $serializer_formats, RouteProviderInterface $route_provider)
Constructs a RestResourceGetRouteProcessorBC object.
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(array $serializer_formats, RouteProviderInterface $route_provider)
Constructs a RestResourceGetRouteProcessorBC 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.