Isn't that same asunbeerable wrote:You should really avoid to use superglobals, but you still can set the 'core.disable_super_globals' parameter to false in config/parameters.yml
$request->disable_super_globals();? I tried with these, still didn't work.
Can you give an example? I'm not expert on PHP.3Di wrote:You should have a class where the constructor calls the request object or make it global the request class.
Just a tought, though.