Role::defaultAdmin()
Creates the built-in admin role
Role::defaultAdmin(array $inject = []): Role
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $inject | array<string, mixed> |
[]
|
Props to add if not defined |
Creates the built-in admin role
Role::defaultAdmin(array $inject = []): Role
| Name | Type | Default | Description |
|---|---|---|---|
| $inject | array<string, mixed> |
[]
|
Props to add if not defined |