objectStore = new StorageObjectStore($baseStorage); $config['objectstore'] = $this->objectStore; // storage1 and storage2 share the same object store. $this->storage1 = new ObjectStoreStorageOverwrite($config); $this->storage2 = new ObjectStoreStorageOverwrite($config); } }