Psr0Loader
class Psr0Loader extends AbstractLoader (View source)
Class Psr0Loader
Methods
Uninstalls this class loader from the SPL autoloader stack.
Loads the given class or interface.
Creates a new instance that loads classes of the specified namespace.
addNamespace
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 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.
Details
in AbstractLoader at line line 21
Psr0Loader
register()
Installs this class loader on the SPL autoload stack.
in AbstractLoader at line line 33
Psr0Loader
unregister()
Uninstalls this class loader from the SPL autoloader stack.
at line line 130
Psr0Loader
loadClass(string $className)
Loads the given class or interface.
in AbstractLoader at line line 56
static string
normalizeClass(string $class)
normalizeClass
in AbstractLoader at line line 71
static string
normalizePath(string $path, bool $endSlash = true)
normalizePath
at line line 48
__construct(array $namespaces = array())
Creates a new instance that loads classes of the specified namespace.
at line line 61
Psr0Loader
addNamespace(string $prefix, string $path)
addNamespace
at line line 82
Psr0Loader
setNamespaceSeparator(string $sep)
Sets the namespace separator used by classes in the namespace of this class loader.
at line line 94
string
getNamespaceSeparator()
Gets the namespace seperator used by classes in the namespace of this class loader.
at line line 106
Psr0Loader
setFileExtension(string $fileExtension)
Sets the file extension of class files in the namespace of this class loader.
at line line 118
string
getFileExtension()
Gets the file extension of class files in the namespace of this class loader.