class ClassAliasList (View source)

Properties

static private $loc
$aliases
private string[] $requiredAliases List of class aliases to be resolved as soon as possible.

Methods

getRegisteredAliases()

No description

static 
getInstance()

No description

register($alias, $class)

No description

registerMultiple($array)

No description

registerRequired(string $alias, string $class) deprecated

Register a class alias to be resolved as soon as possible.

registerMultipleRequired($array) deprecated

Register a list of class aliases to be pre-resolved as soon as possible.

resolveRequired() deprecated

Pre-load the class aliases marked as required.

Details

getRegisteredAliases()

static getInstance()

register($alias, $class)

Parameters

$alias
$class

registerMultiple($array)

Parameters

$array

registerRequired(string $alias, string $class) deprecated

deprecated Don't use this method: it will be removed in future versions (use register)

Register a class alias to be resolved as soon as possible.

Parameters

string $alias
string $class

registerMultipleRequired($array) deprecated

deprecated Don't use this method: it will be removed in future versions (use registerMultiple)

Register a list of class aliases to be pre-resolved as soon as possible.

Parameters

$array

resolveRequired() deprecated

deprecated Don't use this method: it will be removed in future versions.

Pre-load the class aliases marked as required.