Loading src/UnicaenAuth/Service/ShibServiceFactory.php +3 −3 Original line number Diff line number Diff line Loading @@ -2,15 +2,15 @@ namespace UnicaenAuth\Service; use Interop\Container\ContainerInterface; use UnicaenAuth\Options\ModuleOptions; use Zend\ServiceManager\ServiceLocatorInterface; class ShibServiceFactory { public function __invoke(ServiceLocatorInterface $sl) public function __invoke(ContainerInterface $container) { /** @var ModuleOptions $moduleOptions */ $moduleOptions = $sl->get('unicaen-auth_module_options'); $moduleOptions = $container->get('unicaen-auth_module_options'); $service = new ShibService(); $service->setShibbolethConfig($moduleOptions->getShibboleth()); Loading Loading
src/UnicaenAuth/Service/ShibServiceFactory.php +3 −3 Original line number Diff line number Diff line Loading @@ -2,15 +2,15 @@ namespace UnicaenAuth\Service; use Interop\Container\ContainerInterface; use UnicaenAuth\Options\ModuleOptions; use Zend\ServiceManager\ServiceLocatorInterface; class ShibServiceFactory { public function __invoke(ServiceLocatorInterface $sl) public function __invoke(ContainerInterface $container) { /** @var ModuleOptions $moduleOptions */ $moduleOptions = $sl->get('unicaen-auth_module_options'); $moduleOptions = $container->get('unicaen-auth_module_options'); $service = new ShibService(); $service->setShibbolethConfig($moduleOptions->getShibboleth()); Loading