PHP Interface Icicle\Concurrent\Worker\Environment

Inheritance: extends ArrayAccess, extends Countable
Afficher le fichier Open project: icicleio/concurrent

Méthodes publiques

Méthode Description
clear ( ) Removes all values.
delete ( string $key )
exists ( string $key ) : boolean
get ( string $key ) : mixed | null
set ( string $key, mixed $value, integer $ttl )

Method Details

clear() public méthode

Removes all values.
public clear ( )

delete() public méthode

public delete ( string $key )
$key string

exists() public méthode

public exists ( string $key ) : boolean
$key string
Résultat boolean

get() public méthode

public get ( string $key ) : mixed | null
$key string
Résultat mixed | null Returns null if the key does not exist.

set() public méthode

public set ( string $key, mixed $value, integer $ttl )
$key string
$value mixed Using null for the value deletes the key.
$ttl integer Number of seconds until data is automatically deleted. Use 0 for unlimited TTL.