Symfony\Component\HttpFoundation\Request get all requests code example
Example: symfony request get all parameters
$params = $this->getRequest()->request->all();
$params['value1'];
$params['value2'];
$params = $this->getRequest()->request->all();
$params['value1'];
$params['value2'];