Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


Fixed wrong parameter of Cache::write #492

merged 1 commit into from

2 participants

Ondřej Henek José Lorenzo Rodríguez
Ondřej Henek

No description provided.

José Lorenzo Rodríguez


José Lorenzo Rodríguez lorenzo merged commit cc970b2 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 20, 2013
  1. Ondřej Henek
This page is out of date. Refresh to see the latest.
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)
Something went wrong with that request. Please try again.