Total Complexity | 2 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
21 | abstract class Request_Param_Validator implements Interface_Optionable |
||
22 | { |
||
23 | use Traits_Optionable; |
||
24 | |||
25 | /** |
||
26 | * @var Request_Param |
||
27 | */ |
||
28 | protected $param; |
||
29 | |||
30 | protected $value; |
||
31 | |||
32 | public function __construct(Request_Param $param) |
||
33 | { |
||
34 | $this->param = $param; |
||
35 | } |
||
36 | |||
37 | public function validate($value) |
||
42 | } |
||
43 | |||
44 | abstract protected function _validate(); |
||
45 | } |
||
46 |