objectcache: Make BagOStuff::getCurrentTime() public
authorLucas Werkmeister <lucas.werkmeister@wikimedia.de>
Sat, 8 Jun 2019 16:30:20 +0000 (18:30 +0200)
committerKrinkle <krinklemail@gmail.com>
Sun, 9 Jun 2019 17:16:12 +0000 (17:16 +0000)
commitd7e71b5e7181433eaf903b3283e5bf3616cfb442
tree300d4ff2e5b08a5e5a440a7fda69eb63191792c0
parent7b0f667d62cde98122d82002d5394e7c3963ab31
objectcache: Make BagOStuff::getCurrentTime() public

If another cache wraps a BagOStuff, it may need to know about the
BagOStuff’s notion of the current time, which may be mocked and differ
from the real time.

Change-Id: I40f4085d4cf549314394d3140cccb1fe4e48690a
includes/libs/objectcache/BagOStuff.php