1 | <?php |
||
12 | class LessThanOrEqualMatcher extends CountableMatcher |
||
13 | { |
||
14 | /** |
||
15 | * Match that the actual number is less than or equal |
||
16 | * to the expected value. |
||
17 | * |
||
18 | * @param $number |
||
19 | * @return bool |
||
20 | */ |
||
21 | protected function matchNumeric($number) |
||
25 | |||
26 | /** |
||
27 | * {@inheritdoc} |
||
28 | * |
||
29 | * @return TemplateInterface |
||
30 | */ |
||
31 | public function getDefaultTemplate() |
||
38 | |||
39 | /** |
||
40 | * {@inheritdoc} |
||
41 | * |
||
42 | * @return TemplateInterface |
||
43 | */ |
||
44 | public function getDefaultCountableTemplate() |
||
52 | } |
||
53 |