FileAccess Orion

ApcuStore extends AbstractCache
in package

Table of Contents

$prefix  : string
$ttl  : int
delete()  : bool
{@inheritDoc}
deleteAll()  : bool
Delete all keys.
get()  : mixed
{@inheritDoc}
getPrefix()  : string
Get cache prefix.
getTtl()  : int
Get time to live.
keys()  : array<string|int, mixed>
{@inheritDoc}
set()  : mixed
{@inheritDoc}
setPrefix()  : Cacheable
Set cache prefix.
setTtl()  : self
Set time to live.
getActualCacheKey()  : string
Get actual cache key with prefix.

Properties

$prefix

protected string $prefix = 'tus:'

Prefix for cache keys

Methods

delete()

{@inheritDoc}

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

deleteAll()

Delete all keys.

public deleteAll(array<string|int, mixed> $keys) : bool
Parameters
$keys : array<string|int, mixed>
Return values
bool

get()

{@inheritDoc}

public get(string $key[, bool $withExpired = false ]) : mixed
Parameters
$key : string
$withExpired : bool = false
Return values
mixed

getPrefix()

Get cache prefix.

public getPrefix() : string
Return values
string

getTtl()

Get time to live.

public getTtl() : int
Return values
int

keys()

{@inheritDoc}

public keys() : array<string|int, mixed>
Return values
array<string|int, mixed>

set()

{@inheritDoc}

public set(string $key, mixed $value) : mixed
Parameters
$key : string
$value : mixed
Return values
mixed

setTtl()

Set time to live.

public setTtl(int $secs) : self
Parameters
$secs : int
Return values
self

getActualCacheKey()

Get actual cache key with prefix.

protected getActualCacheKey(string $key) : string
Parameters
$key : string
Return values
string

Search results