Commit ead91417 by votintsev

Update Cache.php

Fixed an example of using buildKey in the doc
parent 2516176e
......@@ -94,7 +94,7 @@ abstract class Cache extends Component implements \ArrayAccess
* The following example builds a cache key using three parameters:
*
* ~~~
* $key = $cache->buildKey($className, $method, $id);
* $key = $cache->buildKey(array($className, $method, $id));
* ~~~
*
* @param array|string $key the key to be normalized
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment