Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Rev 6849 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 6849 Rev 6866
Línea 14... Línea 14...
14
 
14
 
15
class GroupControllerFactory implements FactoryInterface
15
class GroupControllerFactory implements FactoryInterface
16
{
16
{
17
    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
17
    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
18
    {
-
 
19
        
18
    {
-
 
19
        $db         = $container->get('leaders-linked-db');
20
        $db         = $container->get('leaders-linked-db');
20
        $cache      = $container->get('leaders-linked-cache');
-
 
21
        $log        = $container->get('leaders-linked-log');
-
 
22
        
21
        $log        = $container->get('leaders-linked-log');
23
        $translator     = $container->get('ServiceManager')->get('MvcTranslator');
-
 
24
        $config         = $container->get('ServiceManager')->get('config');
Línea 22... Línea 25...
22
        $config     = $container->get('ServiceManager')->get('config');
25
        
23
        
26
        
24
        $config = array_filter($config, function($k) {
27
        $config = array_filter($config, function($k) {
Línea 25... Línea -...
25
            return strpos($k, 'leaderslinked.') !== false;
-
 
26
        }, ARRAY_FILTER_USE_KEY);
-
 
27
        
28
            return strpos($k, 'leaderslinked.') !== false;
28
        
29
        }, ARRAY_FILTER_USE_KEY);
29
        
30