Commit bf83b516 authored by Bertrand Gauthier's avatar Bertrand Gauthier
Browse files

Corrections pour passer à ZF3.

parent bef5b46f
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);