Copied!
CloneableInstantiable
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\Psr7\UploadedFile::ERRORS = [0, 1, 2, 3, 4, 6, 7, 8]
Properties
private $clientFilename
private $clientMediaType
private $error
private $file
private $moved
private $size
private $stream
Methods
private isOk() : bool
 

Return true if there is no upload error

private isStringNotEmpty( $param) : bool
private setError(int $error) : void
private setStreamOrFile( $streamOrFile) : void
 

Depending on the value set file or stream variable

private validateActive() : void
 
© 2023 Bruce Wells
Search Namespaces \ Classes
Configuration