mirror of
https://github.com/shlinkio/shlink.git
synced 2024-12-18 00:52:07 +03:00
23 lines
506 B
Text
23 lines
506 B
Text
<?php
|
|
declare(strict_types=1);
|
|
|
|
use Psr\Container\ContainerInterface;
|
|
use Psr\Log;
|
|
|
|
return [
|
|
|
|
'dependencies' => [
|
|
'lazy_services' => [
|
|
'write_proxy_files' => false,
|
|
],
|
|
|
|
'initializers' => [
|
|
function (ContainerInterface $container, $instance) {
|
|
if ($instance instanceof Log\LoggerAwareInterface) {
|
|
$instance->setLogger($container->get(Log\LoggerInterface::class));
|
|
}
|
|
},
|
|
],
|
|
],
|
|
|
|
];
|