Skip to content
Snippets Groups Projects
Commit 9e99622e authored by Antony Le Courtes's avatar Antony Le Courtes
Browse files

Correction reconduction offre de formation suite Laminas

parent ec5a72d3
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment