From 1deab651e2ec243f1148c756c536212135cce1f7 Mon Sep 17 00:00:00 2001 From: Daniel Seifert Date: Fri, 7 May 2021 23:35:49 +0200 Subject: [PATCH] initial --- .../Module/Path/ModulePathResolverBridge.php | 31 ++++++++++++++++ .../ModulePathResolverBridgeInterface.php | 15 ++++++++ composer.json | 37 +++++++++++++++++++ services.yaml | 8 ++++ 4 files changed, 91 insertions(+) create mode 100644 Internal/Framework/Module/Path/ModulePathResolverBridge.php create mode 100644 Internal/Framework/Module/Path/ModulePathResolverBridgeInterface.php create mode 100644 composer.json create mode 100644 services.yaml diff --git a/Internal/Framework/Module/Path/ModulePathResolverBridge.php b/Internal/Framework/Module/Path/ModulePathResolverBridge.php new file mode 100644 index 0000000..5c204f0 --- /dev/null +++ b/Internal/Framework/Module/Path/ModulePathResolverBridge.php @@ -0,0 +1,31 @@ +modulePathResolver = $modulePathResolver; + } + + /** + * @param string $moduleId + * @param int $shopId + * @return string + */ + public function getFullModulePathFromConfiguration(string $moduleId, int $shopId): string + { + return $this->modulePathResolver->getFullModulePathFromConfiguration($moduleId, $shopId); + } +} \ No newline at end of file diff --git a/Internal/Framework/Module/Path/ModulePathResolverBridgeInterface.php b/Internal/Framework/Module/Path/ModulePathResolverBridgeInterface.php new file mode 100644 index 0000000..a420172 --- /dev/null +++ b/Internal/Framework/Module/Path/ModulePathResolverBridgeInterface.php @@ -0,0 +1,15 @@ +