Commit de97da3a authored by Bertrand Gauthier's avatar Bertrand Gauthier

Correction signature d'une factory.

parent c3f28ea5
Pipeline #4063 passed with stage
in 21 seconds
......@@ -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());
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment