protected createRole ( string $name, string $description = '', string | null $ruleName = null, mixed | null $data = null ) : |
||
$name | string | The name of the role |
$description | string | The description of the role |
$ruleName | string | null | The rule associated with the role |
$data | mixed | null | The additional data associated with the role |
return |