autoload.php
Registering your own class autoloading functions.
Table of Contents
Functions
- custom_autoload_function() : void
- This function is responsible for the logic of class autoloading.
Functions
custom_autoload_function()
This function is responsible for the logic of class autoloading.
custom_autoload_function(string $class) : void
First, it tries to connect the class from the core directory, if nothing is found there, it tries to parse the function name into a path (the directories are separated using the camel case).
Parameters
- $class : string
-
Class name