Method | Description | |
---|---|---|
export ( ) | Exports the classloader path into the PHP system include path | |
includePaths ( $path ) | Prepends one or more items to the include path of the class loader and the php include path. | |
loadClass ( $className ) | SPL autoload function, loads a class file based on the class name. | |
register ( $paths = [] ) | Registers this class as an SPL class loader. | |
unregister ( ) | Unregisters this class as an SPL class loader, does not attempt to unregister include_path entries. |
Method | Description | |
---|---|---|
classFile ( $className ) : string | Returns the class file for a particular class name |
public export ( ) |
public includePaths ( $path ) |
public loadClass ( $className ) |
public register ( $paths = [] ) |
public unregister ( ) |