Overview

Namespaces

  • None
  • Peridot
    • Leo
      • Formatter
      • Interfaces
        • Assert
      • Matcher
        • Template
      • ObjectPath
      • Responder
  • PHP

Classes

  • AbstractMatcher
  • CountableMatcher
  • EmptyMatcher
  • EqualMatcher
  • ExceptionMatcher
  • GreaterThanMatcher
  • GreaterThanOrEqualMatcher
  • InclusionMatcher
  • InstanceofMatcher
  • KeysMatcher
  • LengthMatcher
  • LessThanMatcher
  • LessThanOrEqualMatcher
  • Match
  • NullMatcher
  • PatternMatcher
  • PredicateMatcher
  • PropertyMatcher
  • RangeMatcher
  • SameMatcher
  • SubStringMatcher
  • TrueMatcher
  • TruthyMatcher
  • TypeMatcher

Interfaces

  • MatcherInterface
  • Overview
  • Namespace
  • Class
  • Tree

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
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

Peridot\Leo\Matcher\Template\TemplateInterface
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.

Returns

Peridot\Leo\Matcher\Template\TemplateInterface
Methods inherited from Peridot\Leo\Matcher\CountableMatcher
doMatch(), getCount(), getCountable(), getTemplate(), setCountable()
Methods inherited from Peridot\Leo\Matcher\AbstractMatcher
__construct(), invert(), isNegated(), match(), setAssertion(), setTemplate()
Properties inherited from Peridot\Leo\Matcher\CountableMatcher
$countable
Properties inherited from Peridot\Leo\Matcher\AbstractMatcher
$assertion, $expected, $negated, $template
Leo API documentation generated by ApiGen