symfony get parameter from url 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'];