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
PHP Interface Icicle\Concurrent\Worker\Environment
Inheritance:
extends
ArrayAccess
,
extends
Countable
Datei anzeigen
Open project: icicleio/concurrent
Public Methods
Method
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
method
Removes all values.
public
clear
( )
delete()
public
method
public
delete
(
string
$key
)
$key
string
exists()
public
method
public
exists
(
string
$key
) :
boolean
$key
string
return
boolean
get()
public
method
public
get
(
string
$key
) :
mixed
|
null
$key
string
return
mixed
|
null
Returns null if the key does not exist.
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.