Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
63 lines (35 sloc) 1.35 KB

DALMP\Cache

The 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>`_.


Parameters

DALMP\Cache(object)
object:An CacheInterface instance.

Example

See also

.. toctree::
   :maxdepth: 2

   cache/CacheInterface
   cache/APC
   cache/disk
   cache/memcache
   cache/redis

Note

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.