Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #492 from CanesCZ/patch-1

Fixed wrong parameter of Cache::write
  • Loading branch information...
commit cc970b28945d881a17150a3e979f962183e8e8e3 2 parents abb1f92 + 78a1f28
@lorenzo lorenzo authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 en/core-libraries/caching.rst
View
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)
Please sign in to comment.
Something went wrong with that request. Please try again.