diff --git a/Changelog.md b/Changelog.md index 513b418..9044d36 100644 --- a/Changelog.md +++ b/Changelog.md @@ -6,6 +6,7 @@ The change log describes what is "Added", "Removed", "Changed" or "Fixed" betwee Drop support og php < 7.2 Add strict I/O type hinting +Allow passing options when exporting / importing a catalogue ## 1.0.0 diff --git a/src/TransferableStorage.php b/src/TransferableStorage.php index 5eaadc1..4e3f913 100644 --- a/src/TransferableStorage.php +++ b/src/TransferableStorage.php @@ -23,12 +23,12 @@ interface TransferableStorage /** * Get messages from the storage into the $catalogue. */ - public function export(MessageCatalogueInterface $catalogue): void; + public function export(MessageCatalogueInterface $catalogue, array $options = []): void; /** * Populate the storage with all the messages in $catalogue. This action * should be considered as a "force merge". Existing messages in the storage * will be overwritten but no message will be removed. */ - public function import(MessageCatalogueInterface $catalogue): void; + public function import(MessageCatalogueInterface $catalogue, array $options = []): void; }