Proyectos de Subversion LeadersLinked - Backend

Rev

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

<?php
declare(strict_types=1);

namespace LeadersLinked\Factory\Helper;

use Psr\Container\ContainerInterface;
use Laminas\ServiceManager\Factory\FactoryInterface;
use LeadersLinked\Helper\CurrentNetworkHelper;

class CurrentNetworkHelperFactory implements FactoryInterface
{
    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
    {
        $db = $container->get('leaders-linked-db');
        
        return new CurrentNetworkHelper($db);
    }
}