Browse files

Merge pull request #492 from CanesCZ/patch-1

Fixed wrong parameter of Cache::write
  • Loading branch information...
2 parents abb1f92 + 78a1f28 commit cc970b28945d881a17150a3e979f962183e8e8e3 @lorenzo lorenzo committed Feb 20, 2013
Showing with 3 additions and 3 deletions.
  1. +3 −3 en/core-libraries/caching.rst
6 en/core-libraries/caching.rst
@@ -124,12 +124,12 @@ The required API for a CacheEngine is
The base class for all cache engines used with Cache.
-.. php:method:: write($key, $value, $duration)
+.. php:method:: write($key, $value, $config = 'default')
:return: boolean for success.
- Write value for a key into cache, $duration specifies
- how long the entry should exist in the cache.
+ Write value for a key into cache, optional string $config
+ specifies configuration name to write to.
.. php:method:: read($key)

0 comments on commit cc970b2

Please sign in to comment.