Welcome Guest, Not a member yet? Register   Sign In
CI4 equivalent to CI3 magic autoloader
#1

Is there an equivalent in CI4 to the "magic" CI3 autoloading features?
I know the \Config\Autoload.php from CI4 has nothing to do with it but cares about linking classnames to their full namespaces.

I have then posted the question on SO but I am not sure it exists.
https://stackoverflow.com/questions/7822...ass-in-ci4

Thank you.
Reply
#2

What is the "magic" CI3 autoloading?

If you want to load classes that are not PSR-4 compliant, use $classmap:
https://codeigniter4.github.io/CodeIgnit...l#classmap
Reply




Theme © iAndrew 2016 - Forum software by © MyBB