Method |
Description |
|
__construct ( string $ns = null, $includePath = null ) |
Creates a new SplClassLoader that loads classes of the
specified namespace. |
|
getFileExtension ( ) : string |
Gets the file extension of class files in the namespace of this class loader. |
|
getIncludePath ( ) : string |
Gets the base include path for all class files in the namespace of this class loader. |
|
getNamespaceSeparator ( ) : void |
Gets the namespace seperator used by classes in the namespace of this class loader. |
|
loadClass ( string $className ) : void |
Loads the given class or interface. |
|
register ( ) |
Installs this class loader on the SPL autoload stack. |
|
setFileExtension ( string $fileExtension ) |
Sets the file extension of class files in the namespace of this class loader. |
|
setIncludePath ( string $includePath ) |
Sets the base include path for all class files in the namespace of this class loader. |
|
setNamespaceSeparator ( string $sep ) |
Sets the namespace separator used by classes in the namespace of this class loader. |
|
unregister ( ) |
Uninstalls this class loader from the SPL autoloader stack. |
|