Skip to content
Snippets Groups Projects
Select Git revision
  • 44f5e0a7aa1ca58edf6d7c8f4a8acde980c8c921
  • master default protected
  • php84
  • ll-api-test
  • 6.x
  • release_6.2.0
  • modif_maintenance_phtml
  • 6.0.x
  • detached2
  • detached
  • php82
  • feature_SearchAndSelectFilter
  • 5.x
  • 4.x
  • 7.2.1
  • 7.2.0
  • 6.2.0
  • 7.1.0
  • 7.0.0
  • 1.1.1
  • 6.1.7
  • 6.1.6
  • 6.1.5
  • 6.0.16
  • 6.0.15
  • 6.1.4
  • 6.0.14
  • 6.1.3
  • 6.0.13
  • 6.1.2
  • 6.0.12
  • 6.1.1
  • 6.1.0
  • 6.0.11
34 results

LdapStructureServiceFactory.php

Blame
  • Code owners
    Assign users and groups as approvers for specific file changes. Learn more.
    LdapStructureServiceFactory.php 702 B
    <?php
    
    namespace UnicaenApp\Controller\Plugin;
    
    use Interop\Container\ContainerInterface;
    use Zend\ServiceManager\FactoryInterface;
    use Zend\ServiceManager\ServiceLocatorInterface;
    
    /**
     * Description of LdapStructureServiceFactory
     *
     * @author Bertrand GAUTHIER <bertrand.gauthier at unicaen.fr>
     */
    class LdapStructureServiceFactory implements FactoryInterface
    {
        public function createService(ServiceLocatorInterface $pluginManager)
        {
            return $this->__invoke($pluginManager, '?');
        }
    
        public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
        {
            return new LdapStructureService($container->get('ldap_structure_service'));
        }
    }