DALMP\Cache class works as a dispatcher for the current Cache classes, following a common interface in order to maintain
compatibility with other DALMP classes.
Object interfaces allow you to create code which specifies which methods a class must implement, without having to define how these methods are handled.
.. seealso:: `PHP Object Interfaces <http://www.php.net/manual/en/language.oop5.interfaces.php>`_.
|object:||An CacheInterface instance.|
.. toctree:: :maxdepth: 2 cache/CacheInterface cache/APC cache/disk cache/memcache cache/redis
The Dalmp\Cache has no dependency with the DALMP\Database class, this means that you can use only the Database or the Cache classes with out need to depend on eitherone.