Auth, Login, Home, Venta->Listados->Precios
This commit is contained in:
14
app/setup/setups/services.php
Normal file
14
app/setup/setups/services.php
Normal file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
use Psr\Container\ContainerInterface;
|
||||
|
||||
return [
|
||||
Incoviba\Service\Login::class => function(ContainerInterface $container) {
|
||||
return new Incoviba\Service\Login(
|
||||
$container->get(Incoviba\Repository\Login::class),
|
||||
$container->get('COOKIE_NAME'),
|
||||
$container->get('MAX_LOGIN_HOURS'),
|
||||
$container->has('COOKIE_DOMAIN') ? $container->get('COOKIE_DOMAIN') : '',
|
||||
$container->has('COOKIE_PATH') ? $container->get('COOKIE_PATH') : ''
|
||||
);
|
||||
}
|
||||
];
|
Reference in New Issue
Block a user