Zend\Validator\File\WordCount::isValid
Returns true if and only if the counted words are 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- Filename to check for word count
$file
— array- File data from \Zend\File\Transfer\Transfer (optional)
Returns
- bool