Cache
Table of Contents
Methods
-
delete()
: static
-
get()
: mixed
-
set()
: static
-
setTtl()
: static
delete()
public
delete(string $key) : static
Parameters
-
$key
: string
-
get()
public
get(string $key[, mixed $default = null ]) : mixed
Parameters
-
$key
: string
-
-
$default
: mixed
= null
-
set()
public
set(string $key, mixed $data[, int|null $ttl = null ]) : static
Parameters
-
$key
: string
-
-
$data
: mixed
-
-
$ttl
: int|null
= null
-
-
throws
-
ArgumentException
setTtl()
public
setTtl(int $ttl) : static
Parameters
-
$ttl
: int
-