Total Complexity | 3 |
Total Lines | 17 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
8 | class GreaterThanOrEqualValidator extends ValidatorHasNotNull { |
||
9 | |||
10 | protected $ref; |
||
11 | |||
12 | 1 | public function __construct(){ |
|
13 | 1 | $this->message="This value should be greater or equal than `{ref}`"; |
|
14 | 1 | } |
|
15 | 1 | public function validate($value) { |
|
18 | } |
||
19 | /** |
||
20 | * {@inheritDoc} |
||
21 | * @see \Ubiquity\contents\validation\validators\Validator::getParameters() |
||
22 | */ |
||
23 | 1 | public function getParameters(): array { |
|
25 | } |
||
26 | |||
29 |