interface Wildcard

Methods

array
getIndex()

Get the wildcard permission index.

array
getDeniedIndex()

Get the wildcard index of the record's denied permissions.

bool
implies(string $permission, string $guardName, array $index)

Determine if the wildcard permission implies another permission.

Details

at line 14
array getIndex()

Get the wildcard permission index.

Return Value

array

at line 23
array getDeniedIndex()

Get the wildcard index of the record's denied permissions.

Checks consult it before the permission index, so a matching deny wins over every allow.

Return Value

array

at line 30
bool implies(string $permission, string $guardName, array $index)

Determine if the wildcard permission implies another permission.

Parameters

string $permission
string $guardName
array $index

Return Value

bool