CodeIgniter Forums
PHPStorm and CI4 - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forum-28.html)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forum-30.html)
+--- Thread: PHPStorm and CI4 (/thread-68865.html)



PHPStorm and CI4 - donpwinston - 09-05-2017

I'm experimenting with PHPStorm and CI4. I cannot get it to recognize the getPost() method. Looking at the code it should be a method of the the RequestInterface. But I don't see it. PHPStorm doesn't see it either and that's why it's getting flagged. How is it working?


RE: PHPStorm and CI4 - kilishan - 09-05-2017

That method is part of the IncomingRequest class, not specific to the RequestInterface.