Aviat\Banker\Driver\NullDriver
Cache backend for use without a cache server. Only does transient in-memory caching
Synopsis
class NullDriver
extends AbstractDriver
{
- // methods
- public void __construct()
- public bool exists()
- public mixed get()
- public bool set()
- public bool delete()
- public bool deleteMultiple()
- public bool flush()
- public bool expiresAt()
- // Inherited methods from AbstractDriver
- public abstract void __construct()
- public array getMultiple()
- // Inherited methods from LoggerTrait
- public LoggerTrait setLogger()
Hierarchy
Methods
public
- __construct() — NullDriver constructor.
- delete() — Remove an item from the cache
- deleteMultiple() — Remove multiple items from the cache
- exists() — See if a key currently exists in the cache
- expiresAt() — Set the specified key to expire at the given time
- flush() — Empty the cache
- get() — Get the value for the selected cache key
- set() — Set a cached value
Inherited from Aviat\Banker\Driver\AbstractDriver
public
- getMultiple() — Retrieve a set of values by their cache key
Inherited from Aviat\Banker\LoggerTrait
public
- setLogger() — Set a logger to keep track of errors