Symfony\Component\HttpKernel\EventListener\RouterListener::setRequest
Sets the current Request.
The application should call this method whenever the Request object changes (entering a Request scope for instance, but also when leaving a Request scope -- especially when they are nested).
Signature
public function setRequest([Request
$request = null] )
Parameters
$request
— Symfony\Component\HttpKernel\EventListener\Request|null- A Request instance