CreateNodePrivilege
class CreateNodePrivilege extends AbstractNodePrivilege (View source)
A privilege to restrict node creation
Properties
protected CompilingEvaluator | $eelCompilingEvaluator | from AbstractNodePrivilege | |
protected | $nodeContextClassName | ||
protected CreateNodePrivilegeContext | $nodeContext | ||
protected MethodPrivilegeInterface | $methodPrivilege | from AbstractNodePrivilege | |
protected | $initialized | from AbstractNodePrivilege |
Methods
__construct(PrivilegeTarget $privilegeTarget, string $matcher, string $permission, array $parameters)
No description
bool
matchesSubject(PrivilegeSubjectInterface $subject)
No description
mixed
evaluateNodeContext()
Evaluates the matcher with this objects nodeContext and returns the result.
string
buildMethodPrivilegeMatcher()
No description
array
getCreationNodeTypes()
No description
Details
__construct(PrivilegeTarget $privilegeTarget, string $matcher, string $permission, array $parameters)
No description
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 void
initializeMethodPrivilege()
No description
protected mixed
evaluateNodeContext()
Evaluates the matcher with this objects nodeContext and returns the result.
protected string
buildMethodPrivilegeMatcher()
No description
array
getCreationNodeTypes()
No description