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