Welcome Guest, Not a member yet? Register   Sign In
Autoload class in codeigniter
#1

How to autoload class and its namespace in codeigniter 4 without manual adding to autoload.php config file. From the autoloader class i saw a method name addNamespace(). So where is the best time to use this method so that the config() function can recognise it and its configs files. I discovered it modules configs can't be recognise by the config() function after all the registering class and its namespace by the autoloader class. I will be happy if anyone can help me on this thanks
Reply


Messages In This Thread
Autoload class in codeigniter - by Chivinsdev - 10-14-2023, 12:32 AM
RE: Autoload class in codeigniter - by kenjis - 10-14-2023, 01:17 AM
RE: Autoload class in codeigniter - by Chivinsdev - 10-14-2023, 05:25 AM
RE: Autoload class in codeigniter - by kenjis - 10-14-2023, 02:41 PM



Theme © iAndrew 2016 - Forum software by © MyBB