Loading src/UnicaenLeocarte/Controller/IndexControllerFactory.php +2 −2 Original line number Diff line number Diff line Loading @@ -15,10 +15,10 @@ class IndexControllerFactory function __invoke(ControllerManager $controllerManager) { /** @var ModuleOptions $options */ $options = $controllerManager->getServiceLocator()->get('UnicaenLeocarte\Options'); $options = $controllerManager->get('UnicaenLeocarte\Options'); /** @var \UnicaenLeocarte\Service\Photo\PhotoService $photoService */ $photoService = $controllerManager->getServiceLocator()->get('UnicaenLeocarte\Service\Photo'); $photoService = $controllerManager->get('UnicaenLeocarte\Service\Photo'); $controller = new IndexController(); $controller->setPhotoService($photoService); Loading Loading
src/UnicaenLeocarte/Controller/IndexControllerFactory.php +2 −2 Original line number Diff line number Diff line Loading @@ -15,10 +15,10 @@ class IndexControllerFactory function __invoke(ControllerManager $controllerManager) { /** @var ModuleOptions $options */ $options = $controllerManager->getServiceLocator()->get('UnicaenLeocarte\Options'); $options = $controllerManager->get('UnicaenLeocarte\Options'); /** @var \UnicaenLeocarte\Service\Photo\PhotoService $photoService */ $photoService = $controllerManager->getServiceLocator()->get('UnicaenLeocarte\Service\Photo'); $photoService = $controllerManager->get('UnicaenLeocarte\Service\Photo'); $controller = new IndexController(); $controller->setPhotoService($photoService); Loading