Property | Type | Description | |
---|---|---|---|
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | ||
$proxyClassBuilder | |||
$reflectionService | |||
$sourceHint | string |
Method | Description | |
---|---|---|
injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void | ||
injectProxyClassBuilder ( |
||
injectReflectionService ( |
||
parse ( string $pointcutExpression, string $sourceHint ) : |
Parses a string pointcut expression and returns the pointcut objects accordingly |
Method | Description | |
---|---|---|
getArgumentConstraintsFromMethodArgumentsPattern ( string $methodArgumentsPattern ) : array | Parses the method arguments pattern and returns the corresponding constraints array | |
getRuntimeEvaluationConditionsFromEvaluateString ( string $evaluateString ) : array | Parses the evaluate string for runtime evaluations and returns the corresponding conditions array | |
getSubstringBetweenParentheses ( string $string ) : string | Returns the substring of $string which is enclosed by parentheses of the first level. | |
getVisibilityFromSignaturePattern ( &$signaturePattern ) : string | Parses the signature pattern and returns the visibility modifier if any. If a modifier was found, it will be removed from the $signaturePattern. | |
parseAnnotationPattern ( string &$annotationPattern, array &$annotationPropertyConstraints ) : void | Parse an annotation pattern and adjust $annotationPattern and $annotationPropertyConstraints as needed. | |
parseDesignatorClass ( string $operator, string $classPattern, |
Takes a class filter pattern and adds a so configured class filter to the filter composite object. | |
parseDesignatorClassAnnotatedWith ( string $operator, string $annotationPattern, |
Takes a class annotation filter pattern and adds a so configured class annotation filter to the filter composite object. | |
parseDesignatorFilter ( string $operator, string $filterObjectName, |
Adds a custom filter to the pointcut filter composite | |
parseDesignatorMethod ( string $operator, string $signaturePattern, |
Splits the parameters of the pointcut designator "method" into a class and a method part and adds the appropriately configured filters to the filter composite object. | |
parseDesignatorMethodAnnotatedWith ( string $operator, string $annotationPattern, |
Takes a method annotation filter pattern and adds a so configured method annotation filter to the filter composite object. | |
parseDesignatorPointcut ( string $operator, string $pointcutExpression, |
Splits the value of the pointcut designator "pointcut" into an aspect class- and a pointcut method part and adds the appropriately configured filter to the composite object. | |
parseDesignatorSetting ( string $operator, string $configurationPath, |
Adds a setting filter to the pointcut filter composite | |
parseDesignatorWithin ( string $operator, string $signaturePattern, |
Adds a class type filter to the pointcut filter composite | |
parseRuntimeEvaluations ( string $operator, string $runtimeEvaluations, |
Adds runtime evaluations to the pointcut filter composite |
protected getArgumentConstraintsFromMethodArgumentsPattern ( string $methodArgumentsPattern ) : array | ||
$methodArgumentsPattern | string | The arguments pattern defined in the pointcut expression |
return | array | The corresponding constraints array |
protected getRuntimeEvaluationConditionsFromEvaluateString ( string $evaluateString ) : array | ||
$evaluateString | string | The evaluate string defined in the pointcut expression |
return | array | The corresponding constraints array |
protected getSubstringBetweenParentheses ( string $string ) : string | ||
$string | string | The string to parse |
return | string | The inner part between the first level of parentheses |
protected getVisibilityFromSignaturePattern ( &$signaturePattern ) : string | ||
return | string | Visibility modifier or NULL of none was found |
public injectObjectManager ( Neos\Flow\ObjectManagement\ObjectManagerInterface $objectManager ) : void | ||
$objectManager | Neos\Flow\ObjectManagement\ObjectManagerInterface | |
return | void |
public injectProxyClassBuilder ( |
||
$proxyClassBuilder | ||
return | void |
public injectReflectionService ( |
||
$reflectionService | ||
return | void |
public parse ( string $pointcutExpression, string $sourceHint ) : |
||
$pointcutExpression | string | The expression defining the pointcut |
$sourceHint | string | A message giving a hint on where the expression was defined. This is used in error messages. |
return | A composite of class-filters, method-filters and pointcuts |
protected parseDesignatorClass ( string $operator, string $classPattern, |
||
$operator | string | The operator |
$classPattern | string | The pattern expression as configuration for the class filter |
$pointcutFilterComposite | An instance of the pointcut filter composite. The result (ie. the class filter) will be added to this composite object. | |
return | void |
protected parseDesignatorClassAnnotatedWith ( string $operator, string $annotationPattern, |
||
$operator | string | The operator |
$annotationPattern | string | The pattern expression as configuration for the class annotation filter |
$pointcutFilterComposite | An instance of the pointcut filter composite. The result (ie. the class annotation filter) will be added to this composite object. | |
return | void |
protected parseDesignatorFilter ( string $operator, string $filterObjectName, |
||
$operator | string | The operator |
$filterObjectName | string | Object Name of the custom filter (value of the designator) |
$pointcutFilterComposite | An instance of the pointcut filter composite. The result (ie. the custom filter) will be added to this composite object. | |
return | void |
protected parseDesignatorMethod ( string $operator, string $signaturePattern, |
||
$operator | string | The operator |
$signaturePattern | string | The pattern expression defining the class and method - the "signature" |
$pointcutFilterComposite | An instance of the pointcut filter composite. The result (ie. the class and method filter) will be added to this composite object. | |
return | void |
protected parseDesignatorMethodAnnotatedWith ( string $operator, string $annotationPattern, |
||
$operator | string | The operator |
$annotationPattern | string | The pattern expression as configuration for the method annotation filter |
$pointcutFilterComposite | An instance of the pointcut filter composite. The result (ie. the method annotation filter) will be added to this composite object. | |
return | void |
protected parseDesignatorPointcut ( string $operator, string $pointcutExpression, |
||
$operator | string | The operator |
$pointcutExpression | string | The pointcut expression (value of the designator) |
$pointcutFilterComposite | An instance of the pointcut filter composite. The result (ie. the pointcut filter) will be added to this composite object. | |
return | void |
protected parseDesignatorSetting ( string $operator, string $configurationPath, |
||
$operator | string | The operator |
$configurationPath | string | The path to the settings option, that should be used |
$pointcutFilterComposite | An instance of the pointcut filter composite. The result (ie. the custom filter) will be added to this composite object. | |
return | void |
protected parseDesignatorWithin ( string $operator, string $signaturePattern, |
||
$operator | string | |
$signaturePattern | string | The pattern expression defining the class type |
$pointcutFilterComposite | An instance of the pointcut filter composite. The result (ie. the class type filter) will be added to this composite object. | |
return | void |
protected parseRuntimeEvaluations ( string $operator, string $runtimeEvaluations, |
||
$operator | string | The operator |
$runtimeEvaluations | string | The runtime evaluations string |
$pointcutFilterComposite | An instance of the pointcut filter composite. The result (ie. the custom filter) will be added to this composite object. | |
return | void |
protected ObjectManagerInterface,Neos\Flow\ObjectManagement $objectManager | ||
return | Neos\Flow\ObjectManagement\ObjectManagerInterface |
protected ProxyClassBuilder,Neos\Flow\Aop\Builder $proxyClassBuilder | ||
return |
protected ReflectionService,Neos\Flow\Reflection $reflectionService | ||
return |