interface xautoload_ClassLoader_Interface in X Autoload 7.3
Behaves mostly like the Symfony ClassLoader classes.
Hierarchy
- interface \xautoload_ClassLoader_Interface
Expanded class hierarchy of xautoload_ClassLoader_Interface
All classes that implement xautoload_ClassLoader_Interface
File
- lib/
ClassLoader/ Interface.php, line 7
View source
interface xautoload_ClassLoader_Interface {
/**
* Registers this instance as an autoloader.
*
* @param boolean $prepend
* If TRUE, the loader will be prepended. Otherwise, it will be appended.
*/
function register($prepend = FALSE);
/**
* Unregister this instance as an autoloader.
*/
function unregister();
/**
* Callback for class loading. This will include ("require") the file found.
*
* @param string $class
* The class to load.
*/
function loadClass($class);
/**
* For compatibility, it is possible to use the class loader as a finder.
*
* @param string $class
* The class to find.
*
* @return string
* File where the class is assumed to be.
*/
function findFile($class);
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
xautoload_ClassLoader_Interface:: |
function | For compatibility, it is possible to use the class loader as a finder. | 1 | |
xautoload_ClassLoader_Interface:: |
function | Callback for class loading. This will include ("require") the file found. | 1 | |
xautoload_ClassLoader_Interface:: |
function | Registers this instance as an autoloader. | 1 | |
xautoload_ClassLoader_Interface:: |
function | Unregister this instance as an autoloader. | 1 |