W3cubDocs

/Symfony 2.7

Symfony\Component\Security\Acl\Model\EntryInterface

interface EntryInterface implements Serializable

This class represents an individual entry in the ACL list.

Instances MUST be immutable, as they are returned by the ACL and should not allow client modification.

Methods

AclInterface getAcl()

The ACL this ACE is associated with.

int getId()

The primary key of this ACE

int getMask()

The permission mask of this ACE

SecurityIdentityInterface getSecurityIdentity()

The security identity associated with this ACE

string getStrategy()

The strategy for comparing masks

bool isGranting()

Returns whether this ACE is granting, or denying

Details

public AclInterface getAcl()

The ACL this ACE is associated with.

Return Value

AclInterface

public int getId()

The primary key of this ACE

Return Value

int

public int getMask()

The permission mask of this ACE

Return Value

int

public SecurityIdentityInterface getSecurityIdentity()

The security identity associated with this ACE

public string getStrategy()

The strategy for comparing masks

Return Value

string

public bool isGranting()

Returns whether this ACE is granting, or denying

Return Value

bool

© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Security/Acl/Model/EntryInterface.html