Elgg  Version 2.2
 All Classes Namespaces Files Functions Variables Pages
Public Member Functions | List of all members
Elgg\Cache\Pool\Noop Class Reference

Implements the caching API but doesn't actually do any caching. More...

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

Public Member Functions

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

Detailed Description

Implements the caching API but doesn't actually do any caching.

Pass an instance of this class as a cache value to turn off caching.

WARNING: API IN FLUX. DO NOT USE DIRECTLY.

Since
1.10.0

private

Definition at line 17 of file Noop.php.

Member Function Documentation

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

Implements Elgg\Cache\Pool.

Definition at line 19 of file Noop.php.

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

Implements Elgg\Cache\Pool.

Definition at line 27 of file Noop.php.

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

Implements Elgg\Cache\Pool.

Definition at line 32 of file Noop.php.


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