Свойство | Type | Description | |
---|---|---|---|
$actualSettingValue | mixed | The value of the specified setting | |
$cachedResult | boolean | ||
$condition | mixed | The condition value to match against the configuration setting | |
$configurationManager | |||
$settingComparisonExpression | string | The path leading to the setting to match with |
Méthode | Description | |
---|---|---|
__construct ( string $settingComparisonExpression ) | The constructor - initializes the configuration filter with the path to a configuration option | |
getRuntimeEvaluationsDefinition ( ) : array | Returns runtime evaluations for the pointcut. | |
hasRuntimeEvaluationsDefinition ( ) : boolean | Returns TRUE if this filter holds runtime evaluations for a previously matched pointcut | |
injectConfigurationManager ( |
Injects the configuration manager | |
matches ( string $className, string $methodName, string $methodDeclaringClassName, mixed $pointcutQueryIdentifier ) : boolean | Checks if the specified configuration option is set to TRUE or FALSE, or if it matches the specified condition | |
reduceTargetClassNames ( |
This method is used to optimize the matching process. |
Méthode | Description | |
---|---|---|
parseConfigurationOptionPath ( string $settingComparisonExpression ) : void | Parses the given configuration path expression and sets $this->actualSettingValue and $this->condition accordingly |
public __construct ( string $settingComparisonExpression ) | ||
$settingComparisonExpression | string | Path (and optional condition) leading to the setting |
public getRuntimeEvaluationsDefinition ( ) : array | ||
Résultat | array | Runtime evaluations |
public hasRuntimeEvaluationsDefinition ( ) : boolean | ||
Résultat | boolean | TRUE if this filter has runtime evaluations |
public injectConfigurationManager ( |
||
$configurationManager | ||
Résultat | void |
public matches ( string $className, string $methodName, string $methodDeclaringClassName, mixed $pointcutQueryIdentifier ) : boolean | ||
$className | string | Name of the class to check against |
$methodName | string | Name of the method - not used here |
$methodDeclaringClassName | string | Name of the class the method was originally declared in - not used here |
$pointcutQueryIdentifier | mixed | Some identifier for this query - must at least differ from a previous identifier. Used for circular reference detection. |
Résultat | boolean | TRUE if the class matches, otherwise FALSE |
protected parseConfigurationOptionPath ( string $settingComparisonExpression ) : void | ||
$settingComparisonExpression | string | The configuration expression (path + optional condition) |
Résultat | void |
public reduceTargetClassNames ( |
||
$classNameIndex | ||
Résultat |
protected mixed $actualSettingValue | ||
Résultat | mixed |
protected mixed $condition | ||
Résultat | mixed |
protected ConfigurationManager,Neos\Flow\Configuration $configurationManager | ||
Résultat |
protected string $settingComparisonExpression | ||
Résultat | string |