source code says Request::getMethod() is deprecated, what to use? |
if ($this->request->getMethod() == 'post') { }
instead we can use if ($this->request->getPost()) { } Hope it helps. (CI4 solution) |
Welcome Guest, Not a member yet? Register Sign In |