Loading…

How can developers get the request parameters in Symfony2?

In Symfony2, developers can get the request parameter by using the following syntax:

  • $this->container->get('request');
  • $name=$request->query->get('name');

Suggest An Answer

No suggestions avaliable!

Latest post from Symfony interview questions

Ask Question