// raw configuration object are not costly.
$this->sourceCacheStorage =
new MemoryBackend();
$this->sourceStorage =
new CachedStorage( $source_storage,
$this->sourceCacheStorage
);
$this->targetCacheStorage =
new MemoryBackend();
$this->targetStorage =
new CachedStorage( $target_storage,
$this->targetCacheStorage
);
$this->changelist
[StorageInterface::DEFAULT_COLLECTION
] =
$this->
getEmptyChangelist();
} /**
* {@inheritdoc}
*/
public function getSourceStorage($collection = StorageInterface::DEFAULT_COLLECTION
) { if (!
isset($this->sourceStorages
[$collection])) { if ($collection == StorageInterface::DEFAULT_COLLECTION
) { $this->sourceStorages
[$collection] =
$this->sourceStorage;
} else {