Not implements CompilableMatcher
Read onlyYes
FinalYes
Matches when the nested matcher does not match (logical NOT).
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 $matcher) : mixed
Parameters
- $matcher : 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
stringmatches()
public
matches(Attributes $attributes) : bool
Parameters
- $attributes : Attributes