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