Interfaces

(all in the Centum\Interfaces\Access namespace)

Centum\Interfaces\Access\AccessInterface

allow(
    non-empty-string $user,
    non-empty-string $activityName
): void
deny(
    non-empty-string $user,
    non-empty-string $activityName
): void
remove(
    non-empty-string $user,
    non-empty-string $activityName
): void
isAllowed(
    non-empty-string $user,
    non-empty-string $activityName
): bool
verify(
    non-empty-string $user,
    non-empty-string $activityName
): void

Centum\Interfaces\Access\ActivityInterface

getName(): non-empty-string
allow(
    non-empty-string $user
): void
deny(
    non-empty-string $user
): void
remove(
    non-empty-string $user
): void
isAllowed(
    non-empty-string $user
): bool