Allow for dynamic TTLs in getWithSetCallback()
authorAaron Schulz <aschulz@wikimedia.org>
Mon, 11 May 2015 17:03:55 +0000 (10:03 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Tue, 12 May 2015 20:04:53 +0000 (13:04 -0700)
commit4db819011aa95f61de7f19d47ce8c280a0f9d9c0
tree10a6c7dc3458961814c3a7338c41d0adc2284c51
parent7084440582ca25e8a5423b515d0774039281ba22
Allow for dynamic TTLs in getWithSetCallback()

* This gives it better parity with BagOStuff::set()
* Also updated some doc comments

Change-Id: Ib94b97715fae901bac1750656e3dc7501919d6d2
includes/libs/objectcache/WANObjectCache.php
tests/phpunit/includes/objectcache/WANObjectCacheTest.php