1 | <?php |
||
12 | class SerialLengthValidator implements ValidatorInterface |
||
13 | { |
||
14 | /** |
||
15 | * @var integer |
||
16 | */ |
||
17 | private $min; |
||
18 | |||
19 | /** |
||
20 | * @var integer |
||
21 | */ |
||
22 | private $max; |
||
23 | |||
24 | 92 | public function __construct(int $min, int $max) |
|
29 | |||
30 | 190 | public function validate(AccountNumber $number): ResultInterface |
|
48 | } |
||
49 |