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 14... Línea 14...
14
 
14
 
15
class InMailCompanyControllerFactory implements FactoryInterface
15
class InMailCompanyControllerFactory 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
    {
20
        $db         = $container->get('leaders-linked-db');
-
 
-
 
19
        $db         = $container->get('leaders-linked-db');
21
       
20
        $cache      = $container->get('leaders-linked-cache');
22
        $log        = $container->get('leaders-linked-log');
-
 
-
 
21
        $log        = $container->get('leaders-linked-log');
23
        $config     = $container->get('ServiceManager')->get('config');
22
        
-
 
23
        $translator     = $container->get('ServiceManager')->get('MvcTranslator');
-
 
24
        $config         = $container->get('ServiceManager')->get('config');
Línea 24... Línea 25...
24
        $translator     = $container->get('ServiceManager')->get('MvcTranslator');
25
        
25
        
26
        
26
        $config = array_filter($config, function($k) {
27
        $config = array_filter($config, function($k) {
27
            return strpos($k, 'leaderslinked.') !== false;
-
 
28
        }, ARRAY_FILTER_USE_KEY);
-
 
Línea 29... Línea 28...
29
            
28
            return strpos($k, 'leaderslinked.') !== false;
30
        
29
        }, ARRAY_FILTER_USE_KEY);
31
        
30