Class LessThanOrEqualMatcher
LessThanOrEqualMatcher determines if an actual value is less than or equal to the expected value.
- Peridot\Leo\Matcher\AbstractMatcher implements Peridot\Leo\Matcher\MatcherInterface
- Extended by Peridot\Leo\Matcher\CountableMatcher
- Extended by Peridot\Leo\Matcher\LessThanOrEqualMatcher
Namespace: Peridot\Leo\Matcher
Package: Peridot\Leo\Matcher
Located at Matcher/LessThanOrEqualMatcher.php
Methods summary
Package: Peridot\Leo\Matcher
Located at Matcher/LessThanOrEqualMatcher.php
protected
boolean
#
matchNumeric( mixed $number )
Match that the actual number is less than or equal to the expected value.
Match that the actual number is less than or equal to the expected value.
Parameters
- $number
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
public
Peridot\Leo\Matcher\Template\TemplateInterface
#
getDefaultCountableTemplate( )
Return a default template for when a countable has been set.
Return a default template for when a countable has been set.