private function UploadedFile::setSize in Lockr 7.3
Parameters
int $size:
Throws
InvalidArgumentException
1 call to UploadedFile::setSize()
- UploadedFile::__construct in vendor/
guzzlehttp/ psr7/ src/ UploadedFile.php
File
- vendor/
guzzlehttp/ psr7/ src/ UploadedFile.php, line 130
Class
Namespace
GuzzleHttp\Psr7Code
private function setSize($size) {
if (false === is_int($size)) {
throw new InvalidArgumentException('Upload file size must be an integer');
}
$this->size = $size;
}