Skip to content
Snippets Groups Projects
Select Git revision
  • 6dd4cc481385b9eaa0f0e6095b3440d4a8f7ed3c
  • master default protected
  • b24
  • ll-framework
  • ll-wf-finitions
  • ll-workflow
  • alc-scindage-donnees-pj
  • FJ_LL_Tbl_Contrat
  • alc-docker-node
  • ll-apiplatform
  • php84
  • ll-rgpd
  • b23
  • alc-filtre-type-intervenant
  • ll-sans-mdb5
  • formules-ancienne-infra
  • ll-formules
  • alc-intervenant-dmep
  • ll-suppr-v_vol-s
  • b20
  • ll-postgresql
  • 24.11
  • 24.10
  • 24.9
  • 24.8
  • 24.7
  • 24.6
  • 24.5
  • 24.4
  • 24.3
  • 24.2
  • 24.1
  • 24.0
  • 23.15
  • 24.0-beta19
  • 24.0-beta18
  • 24.0-beta17
  • 24.0-beta16
  • 24.0-beta15
  • 24.0-beta14
  • 24.0-beta13
41 results

GenDbStructure.php

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    IndexControllerFactory.php 734 B
    <?php
    
    namespace UnicaenDbAnonym\Controller;
    
    use UnicaenDbAnonym\Service\AnonymService;
    use Psr\Container\ContainerInterface;
    
    class IndexControllerFactory
    {
        /**
         * Create service
         *
         * @param ContainerInterface $container
         * @return IndexController
         * @throws \Psr\Container\ContainerExceptionInterface
         * @throws \Psr\Container\NotFoundExceptionInterface
         */
        public function __invoke(ContainerInterface $container): IndexController
        {
            /** @var \UnicaenDbAnonym\Service\AnonymService $service */
            $service = $container->get(AnonymService::class);
    
            $controller = new IndexController();
            $controller->setAnonymService($service);
    
            return $controller;
        }
    }