v1.0.0
English

UploadedFile.php

system/HTTP/Files/UploadedFile.php
1 class 16 methods

class UploadedFile

Value object representing a single file uploaded through an HTTP request. Used by the IncomingRequest class to provide files. Typically, implementors will extend the SplFileInfo class.
__construct (string $path, string $originalName, ?string $mimeType = null, ?int $size = null, ?int $error = null, ?string $clientPath = null) public
move (string $targetPath, ?string $name = null, bool $overwrite = false) public
setPath (string $path) protected
hasMoved () public
getError () public
getErrorString () public
getClientMimeType () public
getName () public
getClientName () public
getClientPath () public
getTempName () public
getExtension () public
guessExtension () public
getClientExtension () public
isValid () public
store (?string $folderName = null, ?string $fileName = null) public
phpDG v1.0.0 UploadedFile.php 662 files 498 classes 763 fn
Generated