Codeigniter 3 fetch_method() equivalent in CI4 |
Is there an equivalent method to get the method that was called in the current controller class that CI3 had that was called fetch_method()? The docs are a bit overwhelming right now because I'm not used to a lot of this stuff that's included in this framework. I used get_class() to get the class but I haven't found the easy way to get the method just yet. I'm still searching the docs but I know it has to be somewhere.
Thanks forĀ your time PHP Code: $router = \Config\Services::router();
|
Welcome Guest, Not a member yet? Register Sign In |