Class TruthyMatcher
TruthyMatcher determines if an actual value is truthy.
-
Peridot\Leo\Matcher\AbstractMatcher
implements
Peridot\Leo\Matcher\MatcherInterface
-
Peridot\Leo\Matcher\TruthyMatcher
Methods summary
public
|
|
protected
mixed
|
#
doMatch( mixed $actual )
Match if the actual value is truthy - that is - it is true when cast to a (bool).
Match if the actual value is truthy - that is - it is true when cast to a (bool).
Parameters
Returns
mixed
|
public
Peridot\Leo\Matcher\Template\TemplateInterface
|
#
getDefaultTemplate( )
Return a default TemplateInterface if none was set.
Return a default TemplateInterface if none was set.
Returns
|