Permission implements Arrayable
Table of Contents
Interfaces
Methods
- __construct() : mixed
- isEmpty() : bool
- toArray() : array<string|int, mixed>
Methods
__construct()
public
__construct(string $feature, array<string|int, mixed> $permissions) : mixed
Parameters
- $feature : string
- $permissions : array<string|int, mixed>
isEmpty()
public
isEmpty() : bool
Return values
booltoArray()
public
toArray() : array<string|int, mixed>