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.
Since: 2.0
Author: Carsten Brandt ([email protected])
Inheritance: extends Cache
Afficher le fichier Open project: yiisoft/yii2 Class Usage Examples

Méthodes publiques

Méthode Description
exists ( $key )

Méthodes protégées

Méthode Description
addValue ( $key, $value, $duration )
deleteValue ( $key )
flushValues ( )
getValue ( $key )
setValue ( $key, $value, $duration )

Method Details

addValue() protected méthode

protected addValue ( $key, $value, $duration )

deleteValue() protected méthode

protected deleteValue ( $key )

exists() public méthode

public exists ( $key )

flushValues() protected méthode

protected flushValues ( )

getValue() protected méthode

protected getValue ( $key )

setValue() protected méthode

protected setValue ( $key, $value, $duration )