class PropertyAwareNodePrivilegeSubject extends NodePrivilegeSubject (View source)

A node privilege subject which can restricted to a single node property

Properties

protected NodeInterface $node
protected JoinPointInterface $joinPoint
protected string $propertyName

Methods

__construct(NodeInterface $node, JoinPointInterface $joinPoint = null, string $propertyName = null)

No description

JoinPointInterface
getJoinPoint()

No description

string
getPropertyName()

No description

bool
hasPropertyName()

No description

Details

__construct(NodeInterface $node, JoinPointInterface $joinPoint = null, string $propertyName = null)

No description

Parameters

NodeInterface $node

The node we will check privileges for

JoinPointInterface $joinPoint

If we intercept node operations, this joinpoint represents the method called on the node and holds a reference to the node we will check privileges for

string $propertyName

NodeInterface getNode()

No description

Return Value

NodeInterface

JoinPointInterface getJoinPoint()

No description

Return Value

JoinPointInterface

string getPropertyName()

No description

Return Value

string

bool hasPropertyName()

No description

Return Value

bool