From 2957248f953ad4020f5dfbd09c5973136485fe9c Mon Sep 17 00:00:00 2001 From: Falk Ulbricht Date: Tue, 20 Oct 2020 13:40:18 +0200 Subject: [PATCH] Remove 'Introduce Export Definition to Dump Entries' in order to have clean develop branch --- Model/Strategy/ExportToModule.php | 18 ----------- Model/Strategy/ExportToVar.php | 18 ----------- Model/Strategy/Provider.php | 52 ------------------------------- 3 files changed, 88 deletions(-) delete mode 100644 Model/Strategy/ExportToModule.php delete mode 100644 Model/Strategy/ExportToVar.php delete mode 100644 Model/Strategy/Provider.php diff --git a/Model/Strategy/ExportToModule.php b/Model/Strategy/ExportToModule.php deleted file mode 100644 index 489ec21..0000000 --- a/Model/Strategy/ExportToModule.php +++ /dev/null @@ -1,18 +0,0 @@ - StrategyInterface::class] - )); - } - } - $this->strategies = $strategies; - } - - /** - * @param string $strategyCode - * @return StrategyInterface - * - * @throws NotFoundException - */ - public function get(string $strategyCode): StrategyInterface - { - $strategy = $this->strategies[$strategyCode] ?? null; - - if (!$strategy) { - throw new NotFoundException(__('Strategy %strategy_code not found.', ['strategy_code' => $strategyCode])); - } - - return $strategy; - } -}