| Total Complexity | 3 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class Validator extends Particle\Validator { |
||
| 8 | /** |
||
| 9 | * @param string $key |
||
| 10 | * @param null $name |
||
|
|
|||
| 11 | * @param bool $allowEmpty |
||
| 12 | * @return Chain|Particle\Chain |
||
| 13 | */ |
||
| 14 | 8 | public function required($key, $name = null, $allowEmpty = false) { |
|
| 16 | } |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param string $key |
||
| 20 | * @param null $name |
||
| 21 | * @param bool $allowEmpty |
||
| 22 | * @return Chain|Particle\Chain |
||
| 23 | */ |
||
| 24 | 2 | public function optional($key, $name = null, $allowEmpty = true) { |
|
| 25 | 2 | return parent::optional($key, $name, $allowEmpty); |
|
| 26 | } |
||
| 27 | |||
| 28 | 10 | protected function buildChain($key, $name, $required, $allowEmpty) { |
|
| 30 | } |
||
| 31 | } |