Documentation

Zf2CacheAdapter extends AbstractCacheAdapter
in package

Zend Framework 2 cache adapter

Tags
link
http://packages.zendframework.com/docs/latest/manual/en/zend.cache.html

Table of Contents

$cache  : mixed
__construct()  : mixed
contains()  : mixed
delete()  : mixed
fetch()  : mixed
getCacheObject()  : mixed
Get the object owned by the adapter
save()  : mixed

Properties

Methods

__construct()

public __construct(StorageInterface $cache) : mixed
Parameters
$cache : StorageInterface

Zend Framework 2 cache adapter

Return values
mixed

contains()

public contains(mixed $id[, array<string|int, mixed> $options = null ]) : mixed
Parameters
$id : mixed
$options : array<string|int, mixed> = null
Return values
mixed

delete()

public delete(mixed $id[, array<string|int, mixed> $options = null ]) : mixed
Parameters
$id : mixed
$options : array<string|int, mixed> = null
Return values
mixed

fetch()

public fetch(mixed $id[, array<string|int, mixed> $options = null ]) : mixed
Parameters
$id : mixed
$options : array<string|int, mixed> = null
Return values
mixed

getCacheObject()

Get the object owned by the adapter

public getCacheObject() : mixed
Return values
mixed

save()

public save(mixed $id, mixed $data[, mixed $lifeTime = false ][, array<string|int, mixed> $options = null ]) : mixed
Parameters
$id : mixed
$data : mixed
$lifeTime : mixed = false
$options : array<string|int, mixed> = null
Return values
mixed

Search results