symfonny httpfoundtion request access get variables 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')