certificationy / symfony-pack

A series of questions to prepare for the Symfony certification
https://certification.symfony.com/
MIT License
326 stars 131 forks source link

HTTP: Fixed accessor to accept $request->get() #26

Closed lolautruche closed 8 years ago

lolautruche commented 8 years ago

$request->get('foo') is actually a good answer.

Ref https://github.com/symfony/symfony/blob/v3.0.4/src/Symfony/Component/HttpFoundation/Request.php#L722-L724

mickaelandrieu commented 8 years ago

@lolautruche wow :) Thank you Jérôme, I didn't even know this function!