| 1 | <?php |
||
| 21 | class AtLeast extends Quantifier |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * @var int |
||
| 25 | */ |
||
| 26 | protected $count; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * @param int $count |
||
| 30 | * @param SelectorInterface $selector |
||
| 31 | * @param SpecificationInterface $specification |
||
| 32 | */ |
||
| 33 | public function __construct($count, SelectorInterface $selector, SpecificationInterface $specification) |
||
| 39 | |||
| 40 | /** |
||
| 41 | * @return int |
||
| 42 | */ |
||
| 43 | public function count() |
||
| 47 | |||
| 48 | /** |
||
| 49 | * {@inheritdoc} |
||
| 50 | */ |
||
| 51 | public function evaluate($value) |
||
| 70 | } |
||
| 71 |