PHP Класс 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.
Показать файл
Открыть проект
Примеры использования класса
Открытые методы
Метод |
Описание |
|
exists ( $key ) |
|
|
Защищенные методы
Описание методов
addValue()
защищенный Метод
protected addValue ( $key, $value, $duration ) |
deleteValue()
защищенный Метод
flushValues()
защищенный Метод
getValue()
защищенный Метод
setValue()
защищенный Метод
protected setValue ( $key, $value, $duration ) |