Documentation

CacheInterface extends CacheInterface

PSR-16 compatible "Simple Cache" interface.

Table of Contents

Methods

doClear()  : bool
doDelete()  : mixed
doDeleteMultiple()  : mixed
doGet()  : mixed
doGetMultiple()  : mixed
doHas()  : mixed
doSet()  : mixed
doSetMultiple()  : mixed

Methods

doDelete()

public doDelete(string $key) : mixed
Parameters
$key : string

doDeleteMultiple()

public doDeleteMultiple(array<string|int, string> $keys) : mixed
Parameters
$keys : array<string|int, string>

doGet()

public doGet(string $key, mixed $miss) : mixed
Parameters
$key : string
$miss : mixed

doGetMultiple()

public doGetMultiple(array<string|int, string> $keys, mixed $miss) : mixed
Parameters
$keys : array<string|int, string>
$miss : mixed

doHas()

public doHas(string $key) : mixed
Parameters
$key : string

doSet()

public doSet(string $key, mixed $value, int|null $ttl) : mixed
Parameters
$key : string
$value : mixed
$ttl : int|null

doSetMultiple()

public doSetMultiple(array<string, mixed> $values, int|null $ttl) : mixed
Parameters
$values : array<string, mixed>
$ttl : int|null

        
On this page

Search results