Proyectos de Subversion LeadersLinked - Backend

Rev

Rev 16768 | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |

<?php

declare(strict_types=1);

namespace LeadersLinked\Factory\Plugin;

use Laminas\ServiceManager\Factory\FactoryInterface;
use LeadersLinked\Plugin\CurrentNetworkPlugin;
use Psr\Container\ContainerInterface;

class CurrentNetworkPluginFactory implements FactoryInterface
{
    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
    {
        $adapter = $container->get('leaders-linked-db');
        
        return CurrentNetworkPlugin::getInstance($adapter);
    }
    
}