| 1 | <?php |
||
| 30 | class GumpValidator extends ObjectAbstract implements ValidatorInterface |
||
| 31 | { |
||
| 32 | /** |
||
| 33 | * @var \GUMP |
||
| 34 | * @access protected |
||
| 35 | */ |
||
| 36 | protected $gump; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * {@inheritDoc} |
||
| 40 | */ |
||
| 41 | public function validate(array $data, array $rules)/*# : bool */ |
||
| 47 | |||
| 48 | /** |
||
| 49 | * {@inheritDoc} |
||
| 50 | */ |
||
| 51 | public function filter(array $data, array $rules)/*# : array */ |
||
| 56 | |||
| 57 | /** |
||
| 58 | * {@inheritDoc} |
||
| 59 | */ |
||
| 60 | public function getError()/*# : array */ |
||
| 64 | |||
| 65 | /** |
||
| 66 | * @return \GUMP |
||
| 67 | * @access protected |
||
| 68 | */ |
||
| 69 | protected function getGump()/*# : Gump */ |
||
| 76 | } |
||
| 77 |