Proyectos de Subversion LeadersLinked - Antes de SPA

Rev

Ir a la última revisión | | Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
3639 efrain 1
<?php
2
declare(strict_types=1);
3
 
4
namespace LeadersLinked\Factory\Helper;
5
 
6
use Interop\Container\ContainerInterface;
7
use Laminas\ServiceManager\Factory\FactoryInterface;
8
use LeadersLinked\Helper\NetworkIntroHelper;
9
 
10
 
11
class NetworkIntroHelperFactory implements FactoryInterface
12
{
13
    public function __invoke(ContainerInterface $container, $requestedName, array $options = null)
14
    {
15
        $db  = $container->get('leaders-linked-db');
16
 
17
        return new NetworkIntroHelper($db);
18
    }
19
}