In Symfony, it is easy to get the request within a controller:
$request = $this->container->get('request');
Now, I suppose this is a bad practice...but is it possible to modify that request, meaning, for example modify the value of a hidden form field before binding it:
$requestModifiedWithNewValueForHiddenFormField = $request;
// modify the request
// ....
$this->bind($requestModifiedWithNewValueForHiddenFormField);
I suppose I should be using dataTransformer but in this case, I'd like to have your opinion on modifying a request...