CacheManager

Implements \AdGrafik\GoogleMapsPHP\Object\SingletonInterface

Session class.

author

Arno Dudek

Methods

__construct

__construct() 

Set cachePath

setCachePath(string $cachePath) : void
static

Arguments

$cachePath

string

Get cachePath

getCachePath() : string
static

Response

string

Set cacheLifeTime

setCacheLifeTime(integer $cacheLifeTime) : void
static

Arguments

$cacheLifeTime

integer

Get cacheLifeTime

getCacheLifeTime() : integer
static

Response

integer

isExpired

isExpired(string $key) : boolean

Arguments

$key

string

Response

boolean

saveFile

save(string $key, string $content, boolean $asVarExport = FALSE) : void

Arguments

$key

string

$content

string

$asVarExport

boolean

readFile

read(string $key, boolean $isVarExport = FALSE) : mixed

Arguments

$key

string

$isVarExport

boolean

Response

mixed

getCachePathAndFilename

getCachePathAndFilename(string $key) : boolean

Arguments

$key

string

Response

boolean

Properties

cachePath

cachePath : string
static
var

Type(s)

string

cacheLifeTime

cacheLifeTime : integer
static
var

Type(s)

integer