Commit 27055971 authored by Laurent Lecluse's avatar Laurent Lecluse
Browse files

Merge branch 'master' of https://git.unicaen.fr/open-source/OSE

parents d1dc03f0 c005f50a
Loading
Loading
Loading
Loading
+8 −22
Changes for module/Application/src/Processus/Factory/ReconductionProcessusFactory.php: 8 added lines, 22 removed lines.
Original line number Diff line number Diff line
@@ -18,24 +18,17 @@ use Laminas\ServiceManager\ServiceLocatorInterface;
 *
 * @author LECOURTES Anthony <antony.lecourtes@unicaen.fr>
 */
class ReconductionProcessusFactory implements FactoryInterface
class ReconductionProcessusFactory
{

    /**
     * Create service
     *
     * @param ServiceLocatorInterface $serviceLocator
     *
     * @return ReconductionProcessus
     */
    public function createService(ServiceLocatorInterface $serviceLocator)
    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
    {
        $etapeService              = $serviceLocator->get(EtapeService::class);
        $elementPedagogiqueService = $serviceLocator->get(ElementPedagogiqueService::class);
        $cheminPedagogiqueService  = $serviceLocator->get(CheminPedagogiqueService::class);
        $volumeHoraireEnsService   = $serviceLocator->get(VolumeHoraireEnsService::class);
        $anneeService              = $serviceLocator->get(AnneeService::class);
        $contextService            = $serviceLocator->get(ContextService::class);
        $etapeService = $container->get(EtapeService::class);
        $elementPedagogiqueService = $container->get(ElementPedagogiqueService::class);
        $cheminPedagogiqueService = $container->get(CheminPedagogiqueService::class);
        $volumeHoraireEnsService = $container->get(VolumeHoraireEnsService::class);
        $anneeService = $container->get(AnneeService::class);
        $contextService = $container->get(ContextService::class);

        $processus = new ReconductionProcessus($etapeService,
            $elementPedagogiqueService,
@@ -46,11 +39,4 @@ class ReconductionProcessusFactory implements FactoryInterface

        return $processus;
    }



    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
    {

    }
}
 No newline at end of file