Commit Graph

7 Commits

Author SHA1 Message Date
SilverFire - Dmitry Naumenko
b0b55472da yii\caching\Cache::getOrSet() now supports both Closure and callable
Closes #13981
2017-04-13 15:07:30 +03:00
SilverFire - Dmitry Naumenko
178d319556 Added Cache::getOrSet() 2016-12-30 23:49:18 +02:00
Carsten Brandt
059a80b47f renamed Cache::$ttl to Cache::$defaultDuration
better naming as discussed in #12990
2016-11-15 23:54:12 +01:00
SDKiller
556e9cf99b Updates after PR review (related #6809) 2016-11-14 23:53:09 +01:00
SDKiller
8df1017f42 Default cache ttl (duration) property (fixes #6809) 2016-11-14 23:53:09 +01:00
Robert Korulczyk
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
Alexander Makarov
6949992246 Simplified tests directory structure a bit 2015-04-16 12:10:01 +03:00