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