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