PathProcessorDecode
class PathProcessorDecode implements InboundPathProcessorInterface (View source)
Processes the inbound path by urldecoding it.
Parameters in the URL sometimes represent code-meaningful strings. It is therefore useful to always urldecode() those values so that individual controllers need not concern themselves with it. This is Drupal-specific logic and may not be familiar for developers used to other Symfony-family projects.
Methods
Processes the inbound path.
Details
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.