Zend\Validator\File\Upload::isValid
Returns true if and only if the file was uploaded without errors
Signature
public function isValid(string
$value,
[mixed
$file = null] )
Parameters
$value
— string- Single file to check for upload errors, when giving null the $_FILES array
from initialization will be used $file
— mixed
Returns
- bool