Proyectos de Subversion LeadersLinked - Backend

Rev

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

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