Zend\Validator\File\Hash::isValid
Returns true if and only if the given file confirms the set hash
Signature
public function isValid(string|array
$value,
[array
$file = null] )
Parameters
$value
— object- File to check for hash
$file
— array- File data from \Zend\File\Transfer\Transfer (optional)
Returns
- bool