class NodePrivilegeSubject implements PrivilegeSubjectInterface (View source)

A node privilege subject

Properties

protected $node
protected $joinPoint

Methods

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

No description

Node
getNode()

No description

JoinPointInterface|null
getJoinPoint()

No description

Details

__construct(Node $node, JoinPointInterface|null $joinPoint = 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

Node getNode()

No description

Return Value

Node

JoinPointInterface|null getJoinPoint()

No description

Return Value

JoinPointInterface|null