Extending the response class |
Hi,
i have an old MY_Output class from CI3. Now i want to create a class Response which extends the core Response class. In App/Libraries i created the Response.php class PHP Code: <?php But i don't have access to my_function. In the documentation the new class is named identically. Do i have to load my library or does it happen automatically?
You need to add your class in the Services.
See https://codeigniter4.github.io/CodeIgnit...he-service |
Welcome Guest, Not a member yet? Register Sign In |