You are here

private function UploadedFile::setClientFilename in Lockr 7.3

Parameters

string|null $clientFilename:

Throws

InvalidArgumentException

1 call to UploadedFile::setClientFilename()
UploadedFile::__construct in vendor/guzzlehttp/psr7/src/UploadedFile.php

File

vendor/guzzlehttp/psr7/src/UploadedFile.php, line 163

Class

UploadedFile

Namespace

GuzzleHttp\Psr7

Code

private function setClientFilename($clientFilename) {
  if (false === $this
    ->isStringOrNull($clientFilename)) {
    throw new InvalidArgumentException('Upload file client filename must be a string or null');
  }
  $this->clientFilename = $clientFilename;
}