1 | <?php |
||
7 | abstract class AbstractValidator implements ValidatorInterface |
||
8 | { |
||
9 | /** |
||
10 | * @var bool |
||
11 | */ |
||
12 | protected $refreshFlow = false; |
||
13 | |||
14 | /** |
||
15 | * Helper function to return a boolean |
||
16 | * |
||
17 | * @param array $value |
||
18 | * @return bool |
||
19 | */ |
||
20 | 9 | public function isValid($value) |
|
30 | |||
31 | /** |
||
32 | * Set the refresh flow flag |
||
33 | * |
||
34 | * @param bool $refreshFlow |
||
35 | * @return $this |
||
36 | */ |
||
37 | public function setRefreshFlow($refreshFlow = true) |
||
43 | } |
||
44 |