Loader
class Loader
Class Loader to use with PEAR installation
Methods
Creates a new Loader that loads classes of the specified namespace.
Sets the namespace separator used by classes in the namespace of this class loader.
Gets the namespace seperator used by classes in the namespace of this class loader.
Sets the base include path for all class files in the namespace of this class loader.
Gets the base include path for all class files in the namespace of this class loader.
Sets the file extension of class files in the namespace of this class loader.
Gets the file extension of class files in the namespace of this class loader.
Installs this class loader on the SPL autoload stack.
Uninstalls this class loader from the SPL autoloader stack.
Loads the given class or interface.
Details
at line 41
__construct(string $namespace = 'VirtualFileSystem', null $includePath = null)
Creates a new Loader that loads classes of the specified namespace.
at line 52
setNamespaceSeparator(string $sep)
Sets the namespace separator used by classes in the namespace of this class loader.
at line 62
string
getNamespaceSeparator()
Gets the namespace seperator used by classes in the namespace of this class loader.
at line 72
setIncludePath(string $includePath)
Sets the base include path for all class files in the namespace of this class loader.
at line 82
string
getIncludePath()
Gets the base include path for all class files in the namespace of this class loader.
at line 92
setFileExtension(string $fileExtension)
Sets the file extension of class files in the namespace of this class loader.
at line 102
string
getFileExtension()
Gets the file extension of class files in the namespace of this class loader.
at line 112
register(bool $prepend = false)
Installs this class loader on the SPL autoload stack.
at line 120
unregister()
Uninstalls this class loader from the SPL autoloader stack.
at line 131
void
loadClass(string $className)
Loads the given class or interface.