| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Coverage | 77.78% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class CustomValidator extends ValidatorAbstract |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @return bool |
||
| 11 | */ |
||
| 12 | public function isValid() |
||
| 13 | { |
||
| 14 | return Cast::toBool(glsr()->filter('validate/custom', true, $this->request)); |
||
| 15 | } |
||
| 16 | |||
| 17 | /** |
||
| 18 | * @return void |
||
| 19 | */ |
||
| 20 | 1 | public function performValidation() |
|
| 30 | 1 | } |
|
| 31 | } |
||
| 32 |