RoleHasPoliciesTrait
Standalone trait for the `role_has_policies` Edges model dependency.
Tags
Table of Contents
Constants
- ROLE_HAS_POLICIES : string = 'roleHasPolicies'
- Initialization key for the role_has_policies Edges model.
Properties
- $roleHasPolicies : Edges|null
- The role_has_policies Edges model.
Methods
- initializeRoleHasPolicies() : static
- Initializes the role_has_policies edges dependency from the $init array.
Constants
ROLE_HAS_POLICIES
Initialization key for the role_has_policies Edges model.
public
string
ROLE_HAS_POLICIES
= 'roleHasPolicies'
Properties
$roleHasPolicies
The role_has_policies Edges model.
protected
Edges|null
$roleHasPolicies
= null
Methods
initializeRoleHasPolicies()
Initializes the role_has_policies edges dependency from the $init array.
protected
initializeRoleHasPolicies(array<string|int, mixed> $init, Container|null $container) : static
Parameters
- $init : array<string|int, mixed>
-
The initialization array.
- $container : Container|null
-
The DI container.