Flow PHP

Matcher

A predicate over a signal's attributes.

Leaf matchers (AttributeRule) test a single attribute; composite matchers (All, Any, Not) combine other matchers. An AttributeFilter drops or keeps signals based on a single root matcher.

Implement this interface to add a custom matcher. Matchers that can also be represented as inlined PHP additionally implement CompilableMatcher so the filter can compile them; matchers that only implement self are always evaluated through self::matches().

Methods

matches()  : bool

Methods

On this page

Search results