diff --git a/core/lib/Thelia/ImportExport/ExportHandlerInterface.php b/core/lib/Thelia/ImportExport/ExportHandlerInterface.php new file mode 100644 index 000000000..4d637201b --- /dev/null +++ b/core/lib/Thelia/ImportExport/ExportHandlerInterface.php @@ -0,0 +1,36 @@ + + */ +interface ExportHandlerInterface +{ + /** + * @param ContainerInterface $container + * + * Dependency injection: load the container to be able to get parameters and services + */ + public function __construct(ContainerInterface $container); + + /** + * @return \Thelia\Core\FileFormat\Formatting\FormatterData + * + * The method builds + */ + public function buildFormatterData(); +} \ No newline at end of file diff --git a/core/lib/Thelia/ImportExport/ImportHandlerInterface.php b/core/lib/Thelia/ImportExport/ImportHandlerInterface.php new file mode 100644 index 000000000..1faba3786 --- /dev/null +++ b/core/lib/Thelia/ImportExport/ImportHandlerInterface.php @@ -0,0 +1,37 @@ + + */ +interface ImportHandlerInterface +{ + /** + * @param ContainerInterface $container + * + * Dependency injection: load the container to be able to get parameters and services + */ + public function __construct(ContainerInterface $container); + + /** + * @return \Thelia\Core\FileFormat\Formatting\FormatterData + * + * The method builds + */ + public function importFromFormatterData(FormatterData $data); +} \ No newline at end of file