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