Overview

Namespaces

  • PHP
  • ProgrammingAreHard
    • Arbiter
      • Domain
      • Model
  • Symfony
    • Component
      • Security
        • Acl
          • Exception
          • Model
          • Permission
        • Core
          • User

Interfaces

  • ArbiterInterface
  • IdentityFactoryInterface
  • ObjectArbiterInterface
  • PermissionMapInterface
  • PermissionsFactoryInterface
  • PermissionsInterface
  • PermissionsTransformerInterface
  • Overview
  • Namespace
  • Class
  • Tree

Interface PermissionMapInterface

ProgrammingAreHard\Arbiter\Model\PermissionMapInterface implements IteratorAggregate

Direct known implementers

ProgrammingAreHard\Arbiter\Domain\PermissionMap
Namespace: ProgrammingAreHard\Arbiter\Model
Located at Model/PermissionMapInterface.php
Methods summary
public integer
# getMask( string $permission )

Get the mask equivalent of the permission.

Get the mask equivalent of the permission.

Parameters

$permission
string
$permission

Returns

integer

Throws

InvalidArgumentException
public string
# getPermission( integer $mask )

Get the permission equivalent of the mask.

Get the permission equivalent of the mask.

Parameters

$mask
integer
$mask

Returns

string

Throws

InvalidArgumentException
public boolean
# supportsPermission( string $permission )

Does the map support the permission?

Does the map support the permission?

Parameters

$permission
string
$permission

Returns

boolean
Methods inherited from IteratorAggregate
getIterator()
Arbiter API documentation generated by ApiGen 2.8.0