From 45715c4fcfc0986ab0cda80874d0ee743949e633 Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Wed, 12 Sep 2018 20:01:19 +0200 Subject: [PATCH] Deleted unnecessary workflow --- .../Controller/workflow/AbstractWorkflow.php | 51 ------------------- .../src/Controller/workflow/LoginWorkflow.php | 20 -------- .../Controller/workflow/LogoutWorkflow.php | 18 ------- .../Controller/workflow/WorkflowInterface.php | 23 --------- 4 files changed, 112 deletions(-) delete mode 100644 application/src/Controller/workflow/AbstractWorkflow.php delete mode 100644 application/src/Controller/workflow/LoginWorkflow.php delete mode 100644 application/src/Controller/workflow/LogoutWorkflow.php delete mode 100644 application/src/Controller/workflow/WorkflowInterface.php diff --git a/application/src/Controller/workflow/AbstractWorkflow.php b/application/src/Controller/workflow/AbstractWorkflow.php deleted file mode 100644 index 4da45fb..0000000 --- a/application/src/Controller/workflow/AbstractWorkflow.php +++ /dev/null @@ -1,51 +0,0 @@ -response = new Response(); - } - - abstract protected function handlePost():void; - - abstract protected function handleGet():void; - - private function setType():void{} - - public function work(): void - { - $this->setType(); - $this->handlePost(); - $this->handleGet(); - } - - public function setReguest(Request $request): void - { - } - - public function getReponse(): Response - {} - - public function setWorker(NodeInterface $worker): void - {} - -} - diff --git a/application/src/Controller/workflow/LoginWorkflow.php b/application/src/Controller/workflow/LoginWorkflow.php deleted file mode 100644 index 563ebcf..0000000 --- a/application/src/Controller/workflow/LoginWorkflow.php +++ /dev/null @@ -1,20 +0,0 @@ -