symfony get request parameters as string 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'];