diff --git a/src/UnicaenAuth/Options/ModuleOptionsFactory.php b/src/UnicaenAuth/Options/ModuleOptionsFactory.php
index a07434a1f0e92149c63c647556f5429f2da02e03..d054bfa41927b23d5029df4b9eeb92d468c439be 100644
--- a/src/UnicaenAuth/Options/ModuleOptionsFactory.php
+++ b/src/UnicaenAuth/Options/ModuleOptionsFactory.php
@@ -4,26 +4,23 @@ namespace UnicaenAuth\Options;
 
 use Assert\Assertion;
 use Assert\AssertionFailedException;
+use Interop\Container\ContainerInterface;
 use UnicaenApp\Exception\RuntimeException;
-use Zend\ServiceManager\FactoryInterface;
-use Zend\ServiceManager\ServiceLocatorInterface;
 
 /**
- * Description of ModuleOptionsFactory
- *
  * @author Bertrand GAUTHIER <bertrand.gauthier at unicaen.fr>
  */
-class ModuleOptionsFactory implements FactoryInterface
+class ModuleOptionsFactory
 {
     /**
      * Create service
      *
-     * @param ServiceLocatorInterface $serviceLocator
+     * @param ContainerInterface $container
      * @return mixed
      */
-    public function createService(ServiceLocatorInterface $serviceLocator)
+    public function __invoke(ContainerInterface $container)
     {
-        $config       = $serviceLocator->get('Configuration');
+        $config       = $container->get('Configuration');
         $moduleConfig = isset($config['unicaen-auth']) ? $config['unicaen-auth'] : [];
         $moduleConfig = array_merge($config['zfcuser'], $moduleConfig);