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