Symfony2 API
Class

Symfony\Component\Security\Acl\Domain\Entry

class Entry implements AuditableEntryInterface

Auditable ACE implementation

Methods

__construct(integer $id, AclInterface $acl, SecurityIdentityInterface $sid, string $strategy, integer $mask, Boolean $granting, Boolean $auditFailure, Boolean $auditSuccess)

Constructor

AclInterface getAcl()

The ACL this ACE is associated with.

integer getMask()

The permission mask of this ACE

integer getId()

The primary key of this ACE

SecurityIdentityInterface getSecurityIdentity()

The security identity associated with this ACE

string getStrategy()

The strategy for comparing masks

Boolean isAuditFailure()

Whether auditing for successful grants is turned on

Boolean isAuditSuccess()

Whether auditing for successful denies is turned on

Boolean isGranting()

Returns whether this ACE is granting, or denying

setAuditFailure(Boolean $boolean)

Turns on/off auditing on permissions denials.

setAuditSuccess(Boolean $boolean)

Turns on/off auditing on permission grants.

setMask(integer $mask)

Sets the permission mask

setStrategy(string $strategy)

Sets the mask comparison strategy

string serialize()

Implementation of \Serializable

unserialize(string $serialized)

Implementation of \Serializable

Details

at line 46
public __construct(integer $id, AclInterface $acl, SecurityIdentityInterface $sid, string $strategy, integer $mask, Boolean $granting, Boolean $auditFailure, Boolean $auditSuccess)

Constructor

Parameters

integer $id
AclInterface $acl
SecurityIdentityInterface $sid
string $strategy
integer $mask
Boolean $granting
Boolean $auditFailure
Boolean $auditSuccess

at line 61
public AclInterface getAcl()

The ACL this ACE is associated with.

Return Value

AclInterface

at line 69
public integer getMask()

The permission mask of this ACE

Return Value

integer

at line 77
public integer getId()

The primary key of this ACE

Return Value

integer

at line 85
public SecurityIdentityInterface getSecurityIdentity()

The security identity associated with this ACE

Return Value

SecurityIdentityInterface

at line 93
public string getStrategy()

The strategy for comparing masks

Return Value

string

at line 101
public Boolean isAuditFailure()

Whether auditing for successful grants is turned on

Return Value

Boolean

at line 109
public Boolean isAuditSuccess()

Whether auditing for successful denies is turned on

Return Value

Boolean

at line 117
public Boolean isGranting()

Returns whether this ACE is granting, or denying

Return Value

Boolean

at line 130
public setAuditFailure(Boolean $boolean)

Turns on/off auditing on permissions denials.

Do never call this method directly. Use the respective methods on the
AclInterface instead.

Parameters

Boolean $boolean

at line 143
public setAuditSuccess(Boolean $boolean)

Turns on/off auditing on permission grants.

Do never call this method directly. Use the respective methods on the
AclInterface instead.

Parameters

Boolean $boolean

at line 156
public setMask(integer $mask)

Sets the permission mask

Do never call this method directly. Use the respective methods on the
AclInterface instead.

Parameters

integer $mask

at line 169
public setStrategy(string $strategy)

Sets the mask comparison strategy

Do never call this method directly. Use the respective methods on the
AclInterface instead.

Parameters

string $strategy

at line 179
public string serialize()

Implementation of \Serializable

Return Value

string

at line 197
public unserialize(string $serialized)

Implementation of \Serializable

Parameters

string $serialized