JLoader::registerAlias
Offers the ability for "just in time" usage of `class_alias()`.
You cannot overwrite an existing alias.
Signature
public function registerAlias(string
$alias,
string
$original )
Parameters
-
$alias
- The alias name to register.
-
$original
- The original class to alias.
Returns
- boolean
- True if registration was successful. False if the alias already exists.