PathProcessorAlias deprecated
class PathProcessorAlias implements InboundPathProcessorInterface, OutboundPathProcessorInterface (View source)
deprecated
Processes the inbound path using path alias lookups.
Properties
| protected AliasManagerInterface | $aliasManager | An alias manager for looking up the system path. |
Methods
string
processInbound(string $path, Request $request)
Processes the inbound path.
string
processOutbound(string $path, array $options = [], Request $request = NULL, BubbleableMetadata $bubbleable_metadata = NULL)
Processes the outbound path.
Details
__construct(AliasManagerInterface $alias_manager)
Constructs a PathProcessorAlias object.
string
processInbound(string $path, Request $request)
Processes the inbound path.
Implementations may make changes to the request object passed in but should avoid all other side effects. This method can be called to process requests other than the current request.
string
processOutbound(string $path, array $options = [], Request $request = NULL, BubbleableMetadata $bubbleable_metadata = NULL)
Processes the outbound path.