mirror of
https://github.com/shlinkio/shlink.git
synced 2024-11-29 20:14:15 -06:00
25 lines
513 B
Plaintext
25 lines
513 B
Plaintext
<?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): void {
|
|
if ($instance instanceof Log\LoggerAwareInterface) {
|
|
$instance->setLogger($container->get(Log\LoggerInterface::class));
|
|
}
|
|
},
|
|
],
|
|
],
|
|
|
|
];
|