src/AbstractUpload.php
public function withMaximumSizeInBytes($size) {
		$size = (int) $size;

		if ($size > $this->maxTotalSize) {
			throw new TotalSizeExceededError();
		}

		$this->maxIndividualSize = $size;

		return $this;
	}
public function withMaximumSizeInBytes($size) {
		$size = (int) $size;

		if ($size > $this->maxTotalSize) {
			throw new TotalSizeExceededError();
		}

		$this->maxIndividualSize = $size;

		return $this;
	}
public function withMaximumSizeInBytes ( $ size ) { $ size = ( int ) $ size ; if ( $ size > $ this -> maxTotalSize ) { throw new TotalSizeExceededError ( ) ; } $ this -> maxIndividualSize = $ size ; return $ this ; }
Restricts the maximum size of individual files to be uploaded to the specified size

@param int $size the size in bytes
@return static this instance for chaining
@throws Error (do *not* catch)
Restricts the maximum size of individual files to be uploaded to the specified size