Copied!

PermissionCheckerInterface

PermissionCheckerInterface.php : 12
Interface

Methods

publiccanCreateInLocation()

PermissionCheckerInterface.php : 19
public canCreateInLocation(Location $location, array<string|int, mixed>|bool $hasAccess) : bool

Parameters

Name Type Default value Description
$location Location - -
$hasAccess array<string|int, mixed>|bool - -

Return values

bool

publicgetRestrictions()

PermissionCheckerInterface.php : 14
public getRestrictions(array<string|int, mixed> $hasAccess, string $class) : array<string|int, mixed>

Parameters

Name Type Default value Description
$hasAccess array<string|int, mixed> - -
$class string - -

Return values

array<string|int, mixed>