Psr4Loader
class Psr4Loader extends AbstractLoader (View source)
Class Psr4Loader
Methods
unregister()
Uninstalls this class loader from the SPL autoloader stack.
from AbstractLoader
loadClass(string $class)
Loads the class file for a given class name.
addNamespace(string $prefix, string $base_dir, bool $prepend = false)
Adds a base directory for a namespace prefix.
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 76
Psr0Loader
loadClass(string $class)
Loads the class file for a given class name.
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 41
Psr4Loader
addNamespace(string $prefix, string $base_dir, bool $prepend = false)
Adds a base directory for a namespace prefix.