CacheManager
Table of Contents
Methods
-
clean()
: static
-
cleanDir()
: static
-
getData()
: mixed
-
setData()
: static
-
setTtl()
: static
clean()
public
clean(string $key[, string $cacheSubDir = '' ]) : static
Parameters
-
$key
: string
-
-
$cacheSubDir
: string
= ''
-
cleanDir()
public
cleanDir(string $cacheSubDir) : static
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) : static
Parameters
-
$ttl
: int
-