Zend\Validator\File\Count::setMax
Sets the maximum file count
Signature
public function setMax(int|array
$max )
Parameters
$max
— object- The maximum file count
Returns
- Count
- Provides a fluent interface
Errors/Exceptions
-
InvalidArgumentException
- When max is smaller than min