webroot/var/cache/prod/ContainerEvwr5zZ/getMonolog_Logger_DeprecationService.php

30 lines
1.1 KiB
PHP

<?php
namespace ContainerEvwr5zZ;
use Symfony\Component\DependencyInjection\Argument\RewindableGenerator;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
/*
* @internal This class has been auto-generated by the Symfony Dependency Injection Component.
*/
class getMonolog_Logger_DeprecationService extends App_KernelProdContainer
{
/*
* Gets the public 'monolog.logger.deprecation' shared service.
*
* @return \Monolog\Logger
*/
public static function do($container, $lazyLoad = true)
{
$container->services['monolog.logger.deprecation'] = $instance = new \Monolog\Logger('deprecation');
$instance->pushHandler(($container->privates['monolog.handler.deprecation'] ?? $container->load('getMonolog_Handler_DeprecationService')));
$instance->pushHandler(($container->privates['monolog.handler.console'] ?? self::getMonolog_Handler_ConsoleService($container)));
$instance->pushHandler(($container->privates['monolog.handler.main'] ?? self::getMonolog_Handler_MainService($container)));
return $instance;
}
}