Zend\Validator\File\FilesSize::isValid
Returns true if and only if the disk usage of all files is at least min and not bigger than max (when max is not null).
Signature
public function isValid(string|array
$value,
[array
$file = null] )
Parameters
$value
— object- Real file to check for size
$file
— array- File data from \Zend\File\Transfer\Transfer
Returns
- bool