Question about services extending |
Hello,
Little stupid question about the services in ci4. How to make available a service in a whole controller or in many controllers? For example "service('request')" i have to call it several times in each of my 'public function'. PHP Code: <?php namespace App\Controllers; I tried to call it in the BaseController but doesn't look like it's working, if anyone can explain it to me ? Regards, |
Welcome Guest, Not a member yet? Register Sign In |