mirror of
https://github.com/yiisoft/yii2.git
synced 2025-11-16 22:39:52 +08:00
Merge pull request #411 from votintsev/master
Fixed an example of using buildKey in the doc
This commit is contained in:
@@ -94,7 +94,7 @@ abstract class Cache extends Component implements \ArrayAccess
|
|||||||
* The following example builds a cache key using three parameters:
|
* 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
|
* @param array|string $key the key to be normalized
|
||||||
|
|||||||
Reference in New Issue
Block a user