Feature #2365

Support simple comparisons in Setting Pointcutfilter expression

Added by Robert Lemke almost 11 years ago. Updated almost 9 years ago.

Status:
Resolved
Priority:
Should have
Category:
AOP
Start date:
2008-12-22
Due date:
% Done:

100%

PHP Version:
Has patch:
Complexity:

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

Revision fdc05073 (diff)
Added by Andreas Förthner almost 11 years ago

FLOW3 (AOP):
  • Renamed the ConfigurationFilter to SettingFilter
  • Implemented conditions. Resolves #2365.
  • Adjusted the documentation.

History

#1 Updated by Andreas Förthner almost 11 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r1667.

Also available in: Atom PDF