Zend\Validator\File\ImageSize::setMaxHeight
Sets the maximum allowed height
Signature
public function setMaxHeight(int
$maxHeight )
Parameters
$maxHeight
— int
Returns
- ImageSize
- Provides a fluid interface
Errors/Exceptions
-
InvalidArgumentException
- When maxheight is less than minheight