UploadedFile

Extends \ExistingFile

Class UploadedFile

Use this file class to validate that a file was uploaded by and HTTP POST request.

category

System

package

Shared

subpackage

FileSystem

Methods

Class Constructor

__construct(string $p_value) 
inherited
Throws
\InvalidArgumentException

Arguments

$p_value

string

_getRealPath

_getRealPath( $path) : string
inherited

Arguments

$path

Response

string

Get the instance value as string.

asString() : string
inherited

Response

string

Returns the absolute path.

getAbsolutePath() : string
inherited

Response

string

Returns the absolute file path.

getFilePath() : string
inherited

Response

string

Properties

Instance Value

value : string
inherited
var

Type(s)

string