\Rundiz\SimpleCache\DriversMemory

Memory cache (or array cache) class.

Summary

Methods
Properties
Constants
deleteMultiple()
getMultiple()
setMultiple()
clear()
delete()
get()
has()
set()
No public properties found
No constants found
No protected methods found
$data
N/A
No private methods found
No private properties found
N/A

Properties

$data

$data : array

Type

array — Contain associative array where its key is the cache key. The values contain 2 array, first is cache value, second is expiration timestamp.

Methods

deleteMultiple()

deleteMultiple(  $keys) 

{@inheritDoc}

Parameters

$keys

getMultiple()

getMultiple(  $keys,   $default = null) 

{@inheritDoc}

Parameters

$keys
$default

setMultiple()

setMultiple(  $values,   $ttl = null) 

{@inheritDoc}

Parameters

$values
$ttl

clear()

clear() 

{@inheritDoc}

delete()

delete(  $key) 

{@inheritDoc}

Parameters

$key

get()

get(  $key,   $default = null) 

{@inheritDoc}

Parameters

$key
$default

has()

has(  $key) 

{@inheritDoc}

Parameters

$key

set()

set(  $key,   $value,   $ttl = null) 

{@inheritDoc}

Parameters

$key
$value
$ttl