PHP Image

AbstractTemporary
in package

AbstractYes

This is a simple Temporary implementation that other Temporary can inherit from.

Table of Contents

Properties

$temporary  : array<string|int, string>

Methods

__destruct()  : mixed
addTemporary()  : static
Return an instance with the added temprary filename.
clearTemporary()  : static
Clear temporary data.
getRandomFilename()  : string
Retrieve a random temporary filename.

Properties

Methods

addTemporary()

Return an instance with the added temprary filename.

protected addTemporary(string $Filename) : static
Parameters
$Filename : string

The temporary filename.

Return values
static

clearTemporary()

Clear temporary data.

protected clearTemporary() : static
Return values
static

getRandomFilename()

Retrieve a random temporary filename.

protected getRandomFilename(string $Namespace[, string $Extension = "tmp" ]) : string
Parameters
$Namespace : string

The file namespace.

$Extension : string = "tmp"

The file extension.

Return values
string

        
On this page

Search results