Table of Contents
Interfaces
- CacheManager
Methods
-
__construct()
: mixed
-
clean()
: $this
-
cleanDir()
: $this
-
getData()
: mixed
-
setData()
: static
-
setTtl()
: $this
__construct()
public
__construct() : mixed
clean()
public
clean(string $key[, string $cacheSubDir = '' ]) : $this
Parameters
-
$key
: string
-
-
$cacheSubDir
: string
= ''
-
cleanDir()
public
cleanDir(string $cacheSubDir) : $this
Parameters
-
$cacheSubDir
: string
-
getData()
public
getData(string $key[, string $cacheSubDir = '' ]) : mixed
Parameters
-
$key
: string
-
-
$cacheSubDir
: string
= ''
-
setData()
public
setData(string $key, mixed $data[, string $cacheSubDir = '' ]) : static
Parameters
-
$key
: string
-
-
$data
: mixed
-
-
$cacheSubDir
: string
= ''
-
-
throws
-
ArgumentException
setTtl()
public
setTtl(int $ttl) : $this
Parameters
-
$ttl
: int
-