Class PredicateMatcher
PredicateMatcher executes a function with the actual value. The PredicateMatcher returns
the result of that function call as a Match result.
-
Peridot\Leo\Matcher\AbstractMatcher
implements
Peridot\Leo\Matcher\MatcherInterface
-
Peridot\Leo\Matcher\PredicateMatcher
Methods summary
public
Peridot\Leo\Matcher\Template\TemplateInterface
|
#
getDefaultTemplate( )
Return a default TemplateInterface if none was set.
Return a default TemplateInterface if none was set.
Returns
|
protected
mixed
|
#
doMatch( mixed $actual )
Match actual value against the expected predicate.
Match actual value against the expected predicate.
Parameters
Returns
mixed
|