AbstractNodePrivilege
abstract class AbstractNodePrivilege extends AbstractPrivilege implements MethodPrivilegeInterface (View source)
An abstract node privilege acting as a base class for other node privileges restricting operations and data on nodes.
Properties
protected CompilingEvaluator | $eelCompilingEvaluator | ||
protected string | $nodeContextClassName | ||
protected NodePrivilegeContext | $nodeContext | ||
protected MethodPrivilegeInterface | $methodPrivilege | ||
protected bool | $initialized |
Methods
__construct(PrivilegeTarget $privilegeTarget, string $matcher, string $permission, $parameters)
Constructor
void
initialize()
No description
void
buildCacheEntryIdentifier()
No description
string
getCacheEntryIdentifier()
Unique identifier of this privilege
bool
matchesSubject(PrivilegeSubjectInterface $subject)
No description
bool
matchesMethod(string $className, string $methodName)
No description
PointcutFilterInterface
getPointcutFilterComposite()
No description
initializeMethodPrivilege()
No description
mixed
evaluateNodeContext()
Evaluates the matcher with this objects nodeContext and returns the result.
string
buildMethodPrivilegeMatcher()
No description
Details
__construct(PrivilegeTarget $privilegeTarget, string $matcher, string $permission, $parameters)
Constructor
void
initialize()
No description
protected void
buildCacheEntryIdentifier()
No description
string
getCacheEntryIdentifier()
Unique identifier of this privilege
bool
matchesSubject(PrivilegeSubjectInterface $subject)
No description
bool
matchesMethod(string $className, string $methodName)
No description
PointcutFilterInterface
getPointcutFilterComposite()
No description
protected
initializeMethodPrivilege()
No description
protected mixed
evaluateNodeContext()
Evaluates the matcher with this objects nodeContext and returns the result.
abstract protected string
buildMethodPrivilegeMatcher()
No description