Flow PHP

All implements CompilableMatcher

Read onlyYes
FinalYes

Matches when every nested matcher matches (logical AND).

Interfaces

CompilableMatcher
A {@see Matcher} that can render itself as an inlined PHP boolean expression, letting {@see CompiledMatcher} compile the whole matcher tree to a cached PHP file instead of evaluating it through {@see Matcher::matches()}.

Methods

__construct()  : mixed
compile()  : string
Render this matcher as a PHP boolean expression operating on the attribute variable named by {@see Compilation::$subject} (e.g. '$a').
matches()  : bool

Methods

__construct()

public __construct(Matcher ...$matchers) : mixed
Parameters
$matchers : Matcher

compile()

Render this matcher as a PHP boolean expression operating on the attribute variable named by {@see Compilation::$subject} (e.g. '$a').

public compile(Compilation $compilation) : string
Parameters
$compilation : Compilation
Return values
string
On this page

Search results