Zend\Validator\File\ImageSize::setMaxWidth
Sets the maximum allowed width
Signature
public function setMaxWidth(int
$maxWidth )
Parameters
$maxWidth
— int
Returns
- ImageSize
- Provides a fluid interface
Errors/Exceptions
-
InvalidArgumentException
- When maxwidth is less than minwidth