Property | Type | Description | |
---|---|---|---|
$filters | |||
$methodPermissionCache | Neos\Cache\Frontend\VariableFrontend | ||
$methodPermissions | array | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | ||
$runtimeExpressionEvaluator |
Method | Description | |
---|---|---|
getRuntimeEvaluationsDefinition ( ) : array | Returns runtime evaluations for the pointcut. | |
hasRuntimeEvaluationsDefinition ( ) : boolean | Returns TRUE if this filter holds runtime evaluations for a previously matched pointcut | |
initializeObject ( ) : void | ||
injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void | This object is created very early so we can't rely on AOP for the property injection | |
matches ( string $className, string $methodName, string $methodDeclaringClassName, mixed $pointcutQueryIdentifier ) : boolean | Checks if the specified class and method matches against the filter, i.e. if there is a policy entry to intercept this method. | |
reduceTargetClassNames ( |
This method is used to optimize the matching process. | |
savePolicyCache ( ) : void | Save the found matches to the cache. |
Method | Description | |
---|---|---|
buildPointcutFilters ( ) : boolean | Builds the needed pointcut filters for matching the policy privileges |
protected buildPointcutFilters ( ) : boolean | ||
return | boolean |
public getRuntimeEvaluationsDefinition ( ) : array | ||
return | array | Runtime evaluations |
public hasRuntimeEvaluationsDefinition ( ) : boolean | ||
return | boolean | TRUE if this filter has runtime evaluations |
public injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | |
return | void |
public matches ( string $className, string $methodName, string $methodDeclaringClassName, mixed $pointcutQueryIdentifier ) : boolean | ||
$className | string | Name of the class to check the name of |
$methodName | string | Name of the method to check the name of |
$methodDeclaringClassName | string | Name of the class the method was originally declared in |
$pointcutQueryIdentifier | mixed | Some identifier for this query - must at least differ from a previous identifier. Used for circular reference detection. |
return | boolean | TRUE if the names match, otherwise FALSE |
public reduceTargetClassNames ( |
||
$classNameIndex | ||
return |
public savePolicyCache ( ) : void | ||
return | void |
protected PointcutFilterComposite[],Neos\Flow\Aop\Pointcut $filters | ||
return |
protected VariableFrontend,Neos\Cache\Frontend $methodPermissionCache | ||
return | Neos\Cache\Frontend\VariableFrontend |
protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager | ||
return | Neos\Flow\ObjectManagement\ObjectManagerInterface |