ClassLoader
class ClassLoader (View source)
Methods
static
bool
load(
string $class)
Load the given class file.
static
string
normalizeClass(
string $class)
Get the normal file name for a class.
static
void
register()
Register the given class loader on the auto-loader stack.
static
void
addDirectories(
string|array $directories)
Add directories to the class loader.
static
void
removeDirectories(
string|array $directories = null)
Remove directories from the class loader.
static
array
getDirectories()
Gets all the directories registered with the loader.