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