LazyOwnerAlias
Lazy Owner Alias
Adds support for statically binding owner aliases
trait System\Traits\LazyOwnerAlias
Properties
protected
static
$lazyAliases
:
array
= []
List of aliases
Methods
public static lazyRegisterOwnerAlias (string $owner, string $alias) : void
Binds the alias of an owner to the lazy alias list. This allows us to bind aliases
prior to init() which is necessary to do before to PluginManager being registered.
Parameters
| Property | Type | Description |
|---|---|---|
| $owner | string |
string
|
| $alias | string |
string
|
Returns
void
Used by
| Class | Description |
|---|---|
SettingsManager
|
Manages the system settings. |
NavigationManager
|
Manages the backend navigation. |
Copyright © 2024 Winter CMS