Skip to content
Snippets Groups Projects
Commit 2245cd24 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Correction bug envoi notifs indicateurs

parent f03b84a6
No related branches found
No related tags found
No related merge requests found
...@@ -4,6 +4,7 @@ namespace Application\Controller\Factory; ...@@ -4,6 +4,7 @@ namespace Application\Controller\Factory;
use Application\Controller\IndicateurController; use Application\Controller\IndicateurController;
use Interop\Container\ContainerInterface; use Interop\Container\ContainerInterface;
use Zend\View\Renderer\PhpRenderer;
class IndicateurControllerFactory class IndicateurControllerFactory
{ {
...@@ -17,7 +18,7 @@ class IndicateurControllerFactory ...@@ -17,7 +18,7 @@ class IndicateurControllerFactory
public function __invoke(ContainerInterface $container, $requestedName, $options = null) public function __invoke(ContainerInterface $container, $requestedName, $options = null)
{ {
$httpRouter = $container->get('HttpRouter'); $httpRouter = $container->get('HttpRouter');
$renderer = $container->get('ViewHelperManager')->getRenderer(); $renderer = $container->get(PhpRenderer::class);
$cliConfig = $this->getCliConfig($container); $cliConfig = $this->getCliConfig($container);
$controller = new IndicateurController( $httpRouter, $renderer, $cliConfig); $controller = new IndicateurController( $httpRouter, $renderer, $cliConfig);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment