Feature #2365
Support simple comparisons in Setting Pointcutfilter expression
Status: | Resolved | Start date: | 2008-12-22 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Andreas Förthner | % Done: | 100% |
|
Category: | AOP | |||
Target version: | TYPO3 Flow Base Distribution - 1.0 alpha 1 | |||
PHP Version: | Complexity: | |||
Has patch: |
Description
The Configuration Setting Pointcutfilter currently matches if the specified setting evaluates to TRUE or FALSE. A nice enhancement would be the (optional) support for specifying comparisons:
@around method(.*->.*) && setting(MyPackage:myOption:mySubOption = foo)
The value ("foo") should be compared with the actual setting using PHP's == operator.
Associated revisions
FLOW3 (AOP):
- Renamed the ConfigurationFilter to SettingFilter
- Implemented conditions. Resolves #2365.
- Adjusted the documentation.
History
#1 Updated by Andreas Förthner over 6 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset r1667.