class AbstractLoader (View source)

AbstractLoader

Methods

register()

Installs this class loader on the SPL autoload stack.

unregister()

Uninstalls this class loader from the SPL autoloader stack.

loadClass(string $className)

Loads the given class or interface.

static string
normalizeClass(string $class)

normalizeClass

static string
normalizePath(string $path, bool $endSlash = true)

normalizePath

Details

at line line 21
Psr0Loader register()

Installs this class loader on the SPL autoload stack.

Return Value

Psr0Loader

at line line 33
Psr0Loader unregister()

Uninstalls this class loader from the SPL autoloader stack.

Return Value

Psr0Loader

at line line 47
abstract Psr0Loader loadClass(string $className)

Loads the given class or interface.

Parameters

string $className The name of the class to load.

Return Value

Psr0Loader

at line line 56
static string normalizeClass(string $class)

normalizeClass

Parameters

string $class

Return Value

string

at line line 71
static string normalizePath(string $path, bool $endSlash = true)

normalizePath

Parameters

string $path
bool $endSlash

Return Value

string