Copied!

PermissionCheckerInterface

PermissionCheckerInterface.php : 13

Methods

publiccanCreateInLocation()

PermissionCheckerInterface.php : 20
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 : 15
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>