Total Complexity | 3 |
Total Lines | 21 |
Duplicated Lines | 0 % |
Coverage | 60% |
Changes | 0 |
1 | <?php |
||
14 | class RegexValidator extends ValidatorHasNotNull { |
||
15 | protected $ref; |
||
16 | protected $match; |
||
17 | |||
18 | public function __construct(){ |
||
21 | } |
||
22 | |||
23 | 1 | public function validate($value) { |
|
27 | } |
||
28 | |||
29 | /** |
||
30 | * {@inheritDoc} |
||
31 | * @see \Ubiquity\contents\validation\validators\Validator::getParameters() |
||
32 | */ |
||
33 | 1 | public function getParameters(): array { |
|
38 |