Class

Dat0r\Autoloader

class Autoloader

Provides autoloading for all classes inside the Dat0r namespace along with support for registering additional namespaces for psr-0 autoloading relative to corresponding base paths.

Methods

static  register(array $domain_packages = array())

Registers the autoloader to be used by the current process.

static  autoload(string $class)

Autoloads a given class.

Details

at line 35
static public register(array $domain_packages = array())

Registers the autoloader to be used by the current process.

You may provide the base locations of any generated modules in order to have them autoloaded accordingly.

Parameters

array $domain_packages

at line 59
static public autoload(string $class)

Autoloads a given class.

Parameters

string $class