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

29 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_Handler_DeprecationService extends App_KernelProdContainer
{
/*
* Gets the private 'monolog.handler.deprecation' shared service.
*
* @return \Monolog\Handler\StreamHandler
*/
public static function do($container, $lazyLoad = true)
{
$container->privates['monolog.handler.deprecation'] = $instance = new \Monolog\Handler\StreamHandler('php://stderr', 'DEBUG', true, NULL, false);
$instance->pushProcessor(($container->privates['monolog.processor.psr_log_message'] ??= new \Monolog\Processor\PsrLogMessageProcessor()));
$instance->setFormatter(($container->privates['monolog.formatter.json'] ??= new \Monolog\Formatter\JsonFormatter()));
return $instance;
}
}