mini\Http\Message\ServerRequest::getUploadedFiles() Method

public

Signature

public function getUploadedFiles(): array

Returns

array

Documentation

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().

Source

src/Http/Message/ServerRequestTrait.php:259-261