Model Dependency Injection in CodeIgniter Controller - How to Achieve It? |
(08-09-2023, 05:37 PM)kenjis Wrote: If you really need Dependency Injection, you can install a DI container, and create controllers by the container. Thank you very much for the detailed response! This helped me a lot. (08-09-2023, 11:21 AM)ozornick Wrote: There is no DI container. Autowire is also not. I really appreciate your help |
Messages In This Thread |
Model Dependency Injection in CodeIgniter Controller - How to Achieve It? - by tarcisiodev1 - 08-09-2023, 09:14 AM
RE: Model Dependency Injection in CodeIgniter Controller - How to Achieve It? - by ozornick - 08-09-2023, 11:21 AM
RE: Model Dependency Injection in CodeIgniter Controller - How to Achieve It? - by kenjis - 08-09-2023, 05:37 PM
RE: Model Dependency Injection in CodeIgniter Controller - How to Achieve It? - by tarcisiodev1 - 08-09-2023, 06:16 PM
RE: Model Dependency Injection in CodeIgniter Controller - How to Achieve It? - by kenjis - 08-09-2023, 05:43 PM
|