From eaaf9a7f153e44f4f66f7e832e51aa22887a53b6 Mon Sep 17 00:00:00 2001 From: Kevin Frantz Date: Fri, 31 May 2019 00:16:21 +0200 Subject: [PATCH] Renamed MVCRoutineService to CoreService --- .../symfony/src/Controller/API/Rest/LayerController.php | 8 ++++---- .../{MVC/MVCRoutineService.php => Core/CoreService.php} | 6 +++--- .../CoreServiceInterface.php} | 6 +++--- 3 files changed, 10 insertions(+), 10 deletions(-) rename application/symfony/src/Domain/{MVC/MVCRoutineService.php => Core/CoreService.php} (87%) rename application/symfony/src/Domain/{MVC/MVCRoutineServiceInterface.php => Core/CoreServiceInterface.php} (59%) diff --git a/application/symfony/src/Controller/API/Rest/LayerController.php b/application/symfony/src/Controller/API/Rest/LayerController.php index 012456c..fc61ac2 100644 --- a/application/symfony/src/Controller/API/Rest/LayerController.php +++ b/application/symfony/src/Controller/API/Rest/LayerController.php @@ -7,7 +7,7 @@ use Symfony\Component\Routing\Annotation\Route; use Symfony\Component\HttpFoundation\Request; use Infinito\Controller\API\AbstractAPIController; use Infinito\Domain\Request\Action\RequestedActionServiceInterface; -use Infinito\Domain\MVC\MVCRoutineServiceInterface; +use Infinito\Domain\Core\CoreServiceInterface; use Infinito\DBAL\Types\ActionType; use Infinito\Attribut\ClassAttributInterface; @@ -54,9 +54,9 @@ final class LayerController extends AbstractAPIController * * @todo Mayber create an own controller for sources, because they have some special logic! */ - public function create(Request $request, MVCRoutineServiceInterface $mvcRoutineService, RequestedActionServiceInterface $requestedActionService, string $layer): Response + public function create(Request $request, CoreServiceInterface $mvcRoutineService, RequestedActionServiceInterface $requestedActionService, string $layer): Response { - //Not implemented yet in MVC routine. This is just a draft! + //Not implemented yet in Core routine. This is just a draft! if ($request->query->has(ClassAttributInterface::CLASS_ATTRIBUT_NAME)) { $class = $request->query->get(ClassAttributInterface::CLASS_ATTRIBUT_NAME); $requestedActionService->getRequestedEntity()->setClass($class); @@ -74,7 +74,7 @@ final class LayerController extends AbstractAPIController * methods={"GET"} * ) */ - public function read(MVCRoutineServiceInterface $mvcRoutineService, RequestedActionServiceInterface $requestedActionService, string $layer, $identity): Response + public function read(CoreServiceInterface $mvcRoutineService, RequestedActionServiceInterface $requestedActionService, string $layer, $identity): Response { $requestedActionService->setActionType(ActionType::READ); $requestedActionService->setLayer($layer); diff --git a/application/symfony/src/Domain/MVC/MVCRoutineService.php b/application/symfony/src/Domain/Core/CoreService.php similarity index 87% rename from application/symfony/src/Domain/MVC/MVCRoutineService.php rename to application/symfony/src/Domain/Core/CoreService.php index 7f36454..1d16df3 100644 --- a/application/symfony/src/Domain/MVC/MVCRoutineService.php +++ b/application/symfony/src/Domain/Core/CoreService.php @@ -1,6 +1,6 @@