Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Icicle
Concurrent
Worker
Environment
set
Icicle\Concurrent\Worker\Environment::set PHP Method
Environment Interface Documentation
Datei anzeigen
Open project: icicleio/concurrent
set()
public
method
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.
public function set(string $key, $value, int $ttl = 0);
Environment
clear
delete
exists
get
set