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

  • $this->container->get('request');
  • $name=$request->query->get('name');
BY Best Interview Question ON 07 Apr 2020

Suggest An Answer