const UNKNOWN_COUNT
countItems() should return this if it doesn't know how many items remain.
countItems()
The total number of items to process during the upgrade.
shouldBeSkipped()
Should this upgrade be skipped?
Result of a single BatchUpgrade run.
needsIncrementOffset()
Should the run() method receive an offset representing all processed items?
run(Result $result, $offset)
Runs upgrade on a single batch of items.
Long running upgrades should implement this interface.
getVersion()
Version of the upgrade.