Merge pull request #1511 from BlueM/master
Fix class name: AbstractCache -> CacheProvider
This commit is contained in:
commit
2242a4c652
@ -13,7 +13,7 @@ Cache Drivers
|
|||||||
|
|
||||||
The cache drivers follow a simple interface that is defined in
|
The cache drivers follow a simple interface that is defined in
|
||||||
``Doctrine\Common\Cache\Cache``. All the cache drivers extend a
|
``Doctrine\Common\Cache\Cache``. All the cache drivers extend a
|
||||||
base class ``Doctrine\Common\Cache\AbstractCache`` which implements
|
base class ``Doctrine\Common\Cache\CacheProvider`` which implements
|
||||||
this interface.
|
this interface.
|
||||||
|
|
||||||
The interface defines the following public methods for you to implement:
|
The interface defines the following public methods for you to implement:
|
||||||
@ -24,7 +24,7 @@ The interface defines the following public methods for you to implement:
|
|||||||
- save($id, $data, $lifeTime = false) - Puts data into the cache
|
- save($id, $data, $lifeTime = false) - Puts data into the cache
|
||||||
- delete($id) - Deletes a cache entry
|
- delete($id) - Deletes a cache entry
|
||||||
|
|
||||||
Each driver extends the ``AbstractCache`` class which defines a few
|
Each driver extends the ``CacheProvider`` class which defines a few
|
||||||
abstract protected methods that each of the drivers must
|
abstract protected methods that each of the drivers must
|
||||||
implement:
|
implement:
|
||||||
|
|
||||||
@ -38,7 +38,7 @@ The public methods ``fetch()``, ``contains()`` etc. use the
|
|||||||
above protected methods which are implemented by the drivers. The
|
above protected methods which are implemented by the drivers. The
|
||||||
code is organized this way so that the protected methods in the
|
code is organized this way so that the protected methods in the
|
||||||
drivers do the raw interaction with the cache implementation and
|
drivers do the raw interaction with the cache implementation and
|
||||||
the ``AbstractCache`` can build custom functionality on top of
|
the ``CacheProvider`` can build custom functionality on top of
|
||||||
these methods.
|
these methods.
|
||||||
|
|
||||||
This documentation does not cover every single cache driver included
|
This documentation does not cover every single cache driver included
|
||||||
|
Loading…
x
Reference in New Issue
Block a user