cache
implements
CacheInterface
Table of Contents
Interfaces
- CacheInterface
Methods
-
clear()
: bool
-
delete()
: bool
-
deleteMultiple()
: bool
-
get()
: mixed
-
getMultiple()
: iterable<string|int, mixed>
-
has()
: bool
-
set()
: bool
-
setMultiple()
: bool
clear()
public
clear() : bool
delete()
public
delete(string $key) : bool
Parameters
-
$key
: string
-
deleteMultiple()
public
deleteMultiple(iterable<string|int, mixed> $keys) : bool
Parameters
-
$keys
: iterable<string|int, mixed>
-
get()
public
get(string $key[, mixed $default = null ]) : mixed
Parameters
-
$key
: string
-
-
$default
: mixed
= null
-
getMultiple()
public
getMultiple(iterable<string|int, mixed> $keys[, mixed $default = null ]) : iterable<string|int, mixed>
Parameters
-
$keys
: iterable<string|int, mixed>
-
-
$default
: mixed
= null
-
Return values
iterable<string|int, mixed>
has()
public
has(string $key) : bool
Parameters
-
$key
: string
-
set()
public
set(string $key, mixed $value[, null|int|DateInterval $ttl = null ]) : bool
Parameters
-
$key
: string
-
-
$value
: mixed
-
-
$ttl
: null|int|DateInterval
= null
-
setMultiple()
public
setMultiple(iterable<string|int, mixed> $values[, null|int|DateInterval $ttl = null ]) : bool
Parameters
-
$values
: iterable<string|int, mixed>
-
-
$ttl
: null|int|DateInterval
= null
-