1 | <?php |
||
22 | class ValidUpload extends RequiredUpload implements ValidatorInterface |
||
23 | { |
||
24 | |||
25 | /** |
||
26 | * Returns true if and only if $value meets the validation requirements |
||
27 | * |
||
28 | * The context specified can be used in the validation process so that |
||
29 | * the same value can be valid or invalid depending on that data. |
||
30 | * |
||
31 | * @param mixed $value |
||
32 | * @param array|mixed|File $context |
||
33 | * |
||
34 | * @return bool |
||
35 | */ |
||
36 | public function validates($value, $context = []) |
||
55 | } |