objectcache: defined some missing methods in MultiWriteBagOStuff
authorAaron Schulz <aschulz@wikimedia.org>
Wed, 27 Mar 2019 02:40:40 +0000 (19:40 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Wed, 27 Mar 2019 17:26:43 +0000 (17:26 +0000)
commit25fd7dbc7b7e2ebba5d1a1a23d8530c341110d83
treecc9d7a4af0a93bd4e05ffefdca256a78ff7f65b0
parent5b218daeef55ece3d893de06c1164b6af21b688b
objectcache: defined some missing methods in MultiWriteBagOStuff

Also, reorder some method definitions to match the base class.
This makes it easier to compare the two. In addition, refactor
the doWrite() method to make the calls clearer.

Change-Id: I795b395b9c54645f62962461a28067ae38b291ed
includes/libs/objectcache/MultiWriteBagOStuff.php
tests/phpunit/includes/libs/objectcache/BagOStuffTest.php