You are here

public function ServerRequest::getUploadedFiles in Lockr 7.3

Retrieve normalized file upload data.

This method returns upload metadata in a normalized tree, with each leaf an instance of Psr\Http\Message\UploadedFileInterface.

These values MAY be prepared from $_FILES or the message body during instantiation, or MAY be injected via withUploadedFiles().

Return value

array An array tree of UploadedFileInterface instances; an empty array MUST be returned if no data is present.

Overrides ServerRequestInterface::getUploadedFiles

File

vendor/guzzlehttp/psr7/src/ServerRequest.php, line 258

Class

ServerRequest
Server-side HTTP request

Namespace

GuzzleHttp\Psr7

Code

public function getUploadedFiles() {
  return $this->uploadedFiles;
}