Feature #2365

Support simple comparisons in Setting Pointcutfilter expression

Added by Robert Lemke over 12 years ago. Updated over 10 years ago.

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

100%

Estimated time:
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.

#1

Updated by Andreas Förthner over 12 years ago

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

Applied in changeset r1667.

Also available in: Atom PDF