symfony request get params code example
Example 1: symfony request get all parameters
$params = $this->getRequest()->request->all();
$params['value1'];
$params['value2'];
Example 2: symfony get query param
$request->query->get('paramName')
$params = $this->getRequest()->request->all();
$params['value1'];
$params['value2'];
$request->query->get('paramName')