class PropertyAwareNodePrivilegeSubject extends NodePrivilegeSubject (View source)

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

Properties

protected $node from  NodePrivilegeSubject
protected $joinPoint from  NodePrivilegeSubject
protected $propertyName

Methods

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

No description

Node
getNode()

No description

JoinPointInterface|null
getJoinPoint()

No description

string|null
getPropertyName()

No description

bool
hasPropertyName()

No description

Details

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

No description

Parameters

Node $node

The node we will check privileges for

JoinPointInterface|null $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|null $propertyName

Node getNode()

No description

Return Value

Node

JoinPointInterface|null getJoinPoint()

No description

Return Value

JoinPointInterface|null

string|null getPropertyName()

No description

Return Value

string|null

bool hasPropertyName()

No description

Return Value

bool