Class EqualMatcher
EqualMatcher determines if the expected value and the actual value are loosely equal. Peroforms
an == comparison.
-
Peridot\Leo\Matcher\AbstractMatcher
implements
Peridot\Leo\Matcher\MatcherInterface
-
Peridot\Leo\Matcher\EqualMatcher
Methods summary
public
boolean
|
#
doMatch( mixed $actual )
Determine if value is loosely equal to the expected
value.
Determine if value is loosely equal to the expected
value.
Parameters
Returns
boolean
|
public
Peridot\Leo\Matcher\Template\TemplateInterface
|
#
getDefaultTemplate( )
Return a default TemplateInterface if none was set.
Return a default TemplateInterface if none was set.
Returns
|