Get request_stack for Symfony 3
Get request_stack for Symfony 3

Get request object via the "getRequest" method from the parent class \Sonata\AdminBundle\Controller\CRUDController.
The "getRequest" method from CRUDController returns the current request from "request_stack" for Symfony 3 and "request" for Symfony 2 to ensure the BC

Th3Mouk/SonataPageBundle,sonata-project/SonataPageBundle,Th3Mouk/SonataPageBundle,sonata-project/SonataPageBundle,Th3Mouk/SonataPageBundle,Th3Mouk/SonataPageBundle