Method |
Description |
|
__construct ( StorageFactory $storageFactory, AbsoluteUrlReplacer $urlReplacer ) |
|
|
delete ( string $entityName, array $restriction ) |
Chooses an appropriate storage and calls its {@see VersionPress\Storages\Storage::delete() delete()} method. |
|
flushChangeList ( ) |
Dumps a list of {@see VersionPress\ChangeInfos\ChangeInfo} objects captured by this mirror. |
|
getChangeList ( ) : TrackedChangeInfo[] |
Contains a list of {@see VersionPress\ChangeInfos\ChangeInfo} objects captured by this mirror. |
|
save ( string $entityName, array $data ) |
Chooses an appropriate storage and calls its {@see VersionPress\Storages\Storage::save() save()} method. |
|
shouldBeSaved ( string $entityName, array $data ) : boolean |
Queries the associated storage whether the entity data should be saved or not |
|