Apcu
extends Apcu
in package
implements
CacheInterface
uses
MultipleTrait
Extended Rundiz\SimpleCache\Drivers\Apcu class.
Tags
Table of Contents
Interfaces
- CacheInterface
Properties
- $apcuPrefix : string
Methods
- __construct() : mixed
- Class constructor
- delete() : bool
- {@inheritDoc}
- get() : mixed
- {@inheritDoc}
- has() : bool
- {@inheritDoc}
- set() : bool
- {@inheritDoc}
Properties
$apcuPrefix
protected
string
$apcuPrefix
= ''
APCu cache key prefix.
Methods
__construct()
Class constructor
public
__construct([string $cachePath = '' ]) : mixed
Parameters
- $cachePath : string = ''
-
This will be use as APCu cache key prefix.
Tags
delete()
{@inheritDoc}
public
delete(mixed $key) : bool
Parameters
- $key : mixed
Return values
boolget()
{@inheritDoc}
public
get(mixed $key[, mixed $default = null ]) : mixed
Parameters
- $key : mixed
- $default : mixed = null
has()
{@inheritDoc}
public
has(mixed $key) : bool
Parameters
- $key : mixed
Return values
boolset()
{@inheritDoc}
public
set(mixed $key, mixed $value[, mixed $ttl = null ]) : bool
Parameters
- $key : mixed
- $value : mixed
- $ttl : mixed = null