CloneableInstantiable
- Implements
Psr\Http\Message\UploadedFileInterface
Methods |
public __construct( $streamOrFile, ?int $size, int $errorStatus, ?string $clientFilename = NULL, ?string $clientMediaType = NULL)
|
public getClientFilename() : ?string |
public getClientMediaType() : ?string |
public getError() : int |
public getSize() : ?int |
public getStream() : Psr\Http\Message\StreamInterface |
public isMoved() : bool |
public moveTo( $targetPath) : void |
Constants |
private GuzzleHttp |
Properties |
private $clientFilename = NULL
|
private $clientMediaType = NULL
|
private $error = NULL
|
private $file = NULL
|
private $moved = false
|
private $size = NULL
|
private $stream = NULL
|
Methods |
private isOk() : bool Return true if there is no upload error |
private static isStringNotEmpty( $param) : bool |
private setError(int $error) : void
|
private setStreamOrFile( $streamOrFile) : void Depending on the value set file or stream variable
|
private validateActive() : void
|
Methods |
private static isStringNotEmpty( $param) : bool |