symfony get parameters from request 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')