$psr0
$psr0 : array
PSR-0 prefixes
Loader class
register(boolean $prepend, boolean $throw = true) : \Pop\Loader\ClassLoader
Register this instance with the autoload stack
boolean | $prepend | |
boolean | $throw |
unregister() : \Pop\Loader\ClassLoader
Unregister this instance with the autoload stack
addClassMap(array|\Pop\Loader\ClassMapper $map) : \Pop\Loader\ClassLoader
Add a class map array
array|\Pop\Loader\ClassMapper | $map |
addClassMapFromFile(string $file) : \Pop\Loader\ClassLoader
Add a class map from file
string | $file |
addClassMapFromDir(string $dir) : \Pop\Loader\ClassLoader
Generate and add a class map from directory
string | $dir |
setClassMapAuthoritative(boolean $authoritative) : \Pop\Loader\ClassLoader
Set the class map as the authoritative loader, halting any searches via prefixes
boolean | $authoritative |
add(string $prefix, string $directory, boolean $prepend = false) : \Pop\Loader\ClassLoader
Add a PSR-0 prefix and directory location to the autoloader instance
string | $prefix | |
string | $directory | |
boolean | $prepend |
addPsr4(string $prefix, string $directory, boolean $prepend = false) : \Pop\Loader\ClassLoader
Add a PSR-4 prefix and directory location to the autoloader instance
string | $prefix | |
string | $directory | |
boolean | $prepend |
addPsr0(string $prefix, string $directory, boolean $prepend = false) : \Pop\Loader\ClassLoader
Alias to add()
string | $prefix | |
string | $directory | |
boolean | $prepend |
set(string $prefix, string $directory, boolean $prepend = false) : \Pop\Loader\ClassLoader
Alias to add()
string | $prefix | |
string | $directory | |
boolean | $prepend |
setPsr0(string $prefix, string $directory, boolean $prepend = false) : \Pop\Loader\ClassLoader
Alias to add()
string | $prefix | |
string | $directory | |
boolean | $prepend |
setPsr4(string $prefix, string $directory, boolean $prepend = false) : \Pop\Loader\ClassLoader
Alias to addPsr4()
string | $prefix | |
string | $directory | |
boolean | $prepend |