13 lines
401 B
PHP
13 lines
401 B
PHP
<?php
|
|
use Psr\Container\ContainerInterface;
|
|
|
|
return [
|
|
ProVM\Common\Middleware\Auth::class => function(ContainerInterface $container) {
|
|
return new ProVM\Common\Middleware\Auth(
|
|
$container->get(Nyholm\Psr7\Factory\Psr17Factory::class),
|
|
$container->get(Psr\Log\LoggerInterface::class),
|
|
$container->get(ProVM\Common\Service\Auth::class)
|
|
);
|
|
}
|
|
];
|