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 PermissionsInterface

ProgrammingAreHard\Arbiter\Model\PermissionsInterface implements IteratorAggregate, Countable

Direct known implementers

ProgrammingAreHard\Arbiter\Domain\Permissions
Namespace: ProgrammingAreHard\Arbiter\Model
Located at Model/PermissionsInterface.php
Methods summary
public boolean
# contains( string $permission )

Does the permissions have the permission?

Does the permissions have the permission?

Parameters

$permission
string
$permission

Returns

boolean
public mixed
# add( string $permission )

Add the permission.

Add the permission.

Parameters

$permission
string
$permission

Returns

mixed
$this
public mixed
# remove( string $permission )

Remove the permission.

Remove the permission.

Parameters

$permission
string
$permission

Returns

mixed
$this
public string[]
# toArray( )

Convert to array.

Convert to array.

Returns

string[]
Methods inherited from IteratorAggregate
getIterator()
Methods inherited from Countable
count()
Arbiter API documentation generated by ApiGen 2.8.0