PHP Class yii\caching\ArrayCache
See
Cache for common cache operations that ArrayCache supports.
Unlike the
Cache, ArrayCache allows the expire parameter of [[set]], [[add]], [[multiSet]] and [[multiAdd]] to
be a floating point number, so you may specify the time in milliseconds (e.g. 0.1 will be 100 milliseconds).
For more details and usage information on Cache, see the
guide article on caching.
ファイルを表示
Open project: yiisoft/yii2
Class Usage Examples
Public Methods
Method |
Description |
|
exists ( $key ) |
|
|
Protected Methods
Method Details
addValue()
protected method
protected addValue ( $key, $value, $duration ) |
deleteValue()
protected method
flushValues()
protected method
getValue()
protected method
setValue()
protected method
protected setValue ( $key, $value, $duration ) |