<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* @bundles/CoreBundle/Monolog/LogProcessor.php */
class __TwigTemplate_faea8de04d3f3788a27df50d74006f46 extends Template
{
    private $source;
    private $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->parent = false;

        $this->blocks = [
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $macros = $this->macros;
        // line 1
        echo "<?php

declare(strict_types=1);

namespace Mautic\\CoreBundle\\Monolog;

class LogProcessor
{
    /**
     * @param array<string, mixed> \$record
     *
     * @return array<string, mixed>
     */
    public function __invoke(array \$record): array
    {
        \$record['extra'] = [
            'hostname' => gethostname(),
            'pid'      => getmypid(),
        ];

        return \$record;
    }
}
";
    }

    public function getTemplateName()
    {
        return "@bundles/CoreBundle/Monolog/LogProcessor.php";
    }

    public function getDebugInfo()
    {
        return array (  37 => 1,);
    }

    public function getSourceContext()
    {
        return new Source("", "@bundles/CoreBundle/Monolog/LogProcessor.php", "/var/www/mautic/app/bundles/CoreBundle/Monolog/LogProcessor.php");
    }
}
