Zend\Validator\File\Size::setMin
Sets the minimum file size
File size can be an integer or a byte string This includes 'B', 'kB', 'MB', 'GB', 'TB', 'PB', 'EB', 'ZB', 'YB' For example: 2000, 2MB, 0.2GB
Signature
public function setMin(int|string
$min )
Parameters
$min
— object- The minimum file size
Returns
- Size
- Provides a fluent interface
Errors/Exceptions
-
InvalidArgumentException
- When min is greater than max