[Enhancement] Phalcon\Http\RequestInterface
Hi,
I would like to ask for an update in Phalcon\Http\RequestInterface to match the following Phalcon\Http\Request methods for compatibility:
- RequestInterface::get to match Request::get
- RequestInterface::getPost to match Request::getPost
- RequestInterface ::getQuery to match Request::getQuery
- Add Request::getPut to RequestInterface.
This would be for Phalcon 4+ for backward compatibility on 3rd party existing implementations of RequestInterface.
Thanks, Federico.
Good catch. Thank you 👍
No problem :)
Also missing getURI()
Found this existing issue for you Niden. I would just run through both side by side to see if any additional ones are missing.
CC: @niden Reference: #13659
@niden Whether this addressed?
@sergeyklay The PR synched the interfaces between Request and RequestInterface
https://github.com/phalcon/cphalcon/pull/13666