PathProcessorFront
class PathProcessorFront implements InboundPathProcessorInterface, OutboundPathProcessorInterface (View source)
Processes the inbound path by resolving it to the front page if empty.
Properties
| protected ConfigFactoryInterface | $config | A config factory for retrieving required config settings. |
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(ConfigFactoryInterface $config)
Constructs a PathProcessorFront 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.