Elgg  Version 2.3
Public Member Functions | List of all members
Elgg\Cache\Pool\InMemory Class Reference

An in-memory implementation of a cache pool. More...

Inheritance diagram for Elgg\Cache\Pool\InMemory:
Elgg\Cache\Pool

Public Member Functions

 get ($key, callable $callback=null, $default=null)
 
 invalidate ($key)
 
 put ($key, $value)
 

Detailed Description

An in-memory implementation of a cache pool.

NB: Data put into this cache is not persisted between requests.

WARNING: API IN FLUX. DO NOT USE DIRECTLY.

Since
1.10.0

private

Definition at line 18 of file InMemory.php.

Member Function Documentation

Elgg\Cache\Pool\InMemory::get (   $key,
callable  $callback = null,
  $default = null 
)

Implements Elgg\Cache\Pool.

Definition at line 25 of file InMemory.php.

Elgg\Cache\Pool\InMemory::invalidate (   $key)

Implements Elgg\Cache\Pool.

Definition at line 38 of file InMemory.php.

Elgg\Cache\Pool\InMemory::put (   $key,
  $value 
)

Implements Elgg\Cache\Pool.

Definition at line 45 of file InMemory.php.


The documentation for this class was generated from the following file: