Skip to content
Snippets Groups Projects
Select Git revision
  • master
  • release_3.0.0
  • test
  • feature_pre_sql
  • develop
  • 3.0.1
  • 3.0.0
  • 2.3.0
  • 2.2.0
  • 2.1.0
  • 2.0.0
  • 1.3.7
  • 1.3.6
  • 1.3.5
  • 1.3.4
  • 1.3.3
  • 1.3.2
  • 1.3.1
  • 1.3.0
  • 1.2.6
  • 1.2.5
  • 1.2.4
  • 1.2.3
  • 1.2.2
  • 1.2.1
25 results

INSTALL.md

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'));
        }
    }