Is there a way how to put variable into Phalcon\Http\Request programaticaly?
I have my own Tag library with statefullForm implementation. On MyTAGs::statefullForm() call I'm creating a usual form tag and also add
<input type='hidden' name='stateId' value='UUID generate value'>
Now for the first GET request the UUID is generated and maintained the same for every subsequent POST request. Using a Session Bag in controller I can have statefull variables related to particular form instance. Now when I create a new form with new generated UUID stateId I have to put this value into Request manualy so I can use it in controller immediately. On any form submission its value is sent to server using this form field. Any idea idea how to do it? I have looked into Phalcon\Http\Request api but can't see such thing ...