<?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/Loader/EnvVars/SessionEnvVars.php */
class __TwigTemplate_5ed38ba74879d32e56de7975e798eec7ba85e61b978e377b674ae56d10af19f6 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

namespace Mautic\\CoreBundle\\Loader\\EnvVars;

use Symfony\\Component\\HttpFoundation\\ParameterBag;

class SessionEnvVars implements EnvVarsInterface
{
    public static function load(ParameterBag \$config, ParameterBag \$defaultConfig, ParameterBag \$envVars): void
    {
        // Set the session name
        \$localConfigFile = \$defaultConfig->get('local_config_path', uniqid());
        \$secretKey       = \$config->get('secret_key');

        \$key         = \$secretKey ? \$secretKey : 'mautic';
        \$sessionName = md5(md5(\$localConfigFile).\$key);
        \$envVars->set('MAUTIC_SESSION_NAME', \$sessionName);
    }
}
";
    }

    public function getTemplateName()
    {
        return "@bundles/CoreBundle/Loader/EnvVars/SessionEnvVars.php";
    }

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

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