Class Autoloader
Handles automatic loading of missing class files.
The autoloader can be nested with other autoloaders. It will only
process classes from its own namespace and ignore all others.
Methods summary
public static
|
#
init( )
Initialise the autoloader
Initialise the autoloader
Throws
|
public static
|
#
load( string $className )
Handle loading of an unknown class
Handle loading of an unknown class
This will only handle class from its own namespace and ignore all others.
This allows multiple autoloaders to be used in a nested fashion.
Parameters
- $className
- name of class to be loaded
|