Browse Source

Update Cache.php

Fixed an example of using buildKey in the doc
tags/2.0.0-beta
votintsev 12 years ago
parent
commit
ead914176f
  1. 2
      framework/yii/caching/Cache.php

2
framework/yii/caching/Cache.php

@ -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

Loading…
Cancel
Save