You are here

private function UploadedFile::setSize in Auth0 Single Sign On 8.2

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

UploadedFile

Namespace

GuzzleHttp\Psr7

Code

private function setSize($size) {
  if (false === is_int($size)) {
    throw new InvalidArgumentException('Upload file size must be an integer');
  }
  $this->size = $size;
}