Proyectos de Subversion LeadersLinked - Services

Rev

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

Rev 1 Rev 283
Línea 13... Línea 13...
13
{
13
{
14
    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
14
    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
15
    {
15
    {
16
        $adapter = $container->get('leaders-linked-db');
16
        $adapter = $container->get('leaders-linked-db');
Línea 17... Línea 17...
17
        
17
        
18
        return new CurrentUserPlugin($adapter);
18
        return CurrentUserPlugin::getInstance($adapter);
19
    }
19
    }