$_prefixes
$_prefixes : array
An associative array where the key is a namespace prefix and the value is an array of base directories for classes in that namespace.
ClassLoader
addNamespace(string $prefix, string $baseDir, boolean $prepend = false) : void
Adds a base directory for a namespace prefix.
string | $prefix | The namespace prefix. |
string | $baseDir | A base directory for class files in the namespace. |
boolean | $prepend | If true, prepend the base directory to the stack instead of appending it; this causes it to be searched first rather than last. |
_loadMappedFile(string $prefix, string $relativeClass) : mixed
Load the mapped file for a namespace prefix and relative class.
string | $prefix | The namespace prefix. |
string | $relativeClass | The relative class name. |
Boolean false if no mapped file can be loaded, or the name of the mapped file that was loaded.
Loading…