mini\Http\Message\UploadedFile
class
Documentation
Value object representing a file uploaded through an HTTP request.
Instances of this interface are considered immutable; all methods that might change state MUST be implemented such that they retain the internal state of the current instance and return an instance that contains the changed state.
Inheritance
Implements:
Psr\Http\Message\UploadedFileInterface
Uses Traits:
mini\Http\Message\UploadedFileTrait
Properties (6)
mixed $stream
string $path
string $filename
string $mediaType
string $error
int $filesize
Methods (9)
Documentation missing
Documentation missing
Retrieve a stream representing the uploaded file.
Move the uploaded file to a new location.
Retrieve the file size.
Retrieve the error associated with the uploaded file.
Retrieve the filename sent by the client.
Retrieve the media type sent by the client.
Check that no error condition exists which should prevent this operation