Documentation

Cache extends Helper
in package

Table of Contents

$app  : App
$context  : mixed
$prefix  : string|null
$cachePath  : string|null
__call()  : mixed
__construct()  : mixed
__get()  : mixed
__invoke()  : mixed
clear()  : void
delete()  : void
getCachePath()  : mixed
read()  : mixed
setCachePath()  : void
write()  : void
initialize()  : mixed

Properties

$context

public mixed $context

$prefix

public string|null $prefix = null

$cachePath

protected string|null $cachePath = null

Methods

__call()

public __call(mixed $name, mixed $arguments) : mixed
Parameters
$name : mixed
$arguments : mixed
Return values
mixed

__construct()

public __construct(App $app[, mixed $context = null ]) : mixed
Parameters
$app : App
$context : mixed = null
Return values
mixed

__get()

public __get(mixed $name) : mixed
Parameters
$name : mixed
Return values
mixed

__invoke()

public __invoke(mixed $helper) : mixed
Parameters
$helper : mixed
Return values
mixed

clear()

public clear() : void
Return values
void

delete()

public delete(string $key) : void
Parameters
$key : string
Return values
void

getCachePath()

public getCachePath() : mixed
Return values
mixed

read()

public read(string $key[, mixed $default = null ][, mixed $decrypt = false ]) : mixed
Parameters
$key : string
$default : mixed = null
$decrypt : mixed = false
Return values
mixed

setCachePath()

public setCachePath(string $path) : void
Parameters
$path : string
Return values
void

write()

public write(string $key, mixed $value[, int $duration = -1 ][, bool $encrypt = false ]) : void
Parameters
$key : string
$value : mixed
$duration : int = -1
$encrypt : bool = false
Return values
void

initialize()

protected initialize() : mixed
Return values
mixed

Search results