<?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/ApiBundle/MauticApiBundle.php */
class __TwigTemplate_65a5505911fe5ec53b071a5943109f24 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\\ApiBundle;

use Mautic\\ApiBundle\\DependencyInjection\\Compiler\\SerializerPass;
use Mautic\\ApiBundle\\DependencyInjection\\Factory\\ApiFactory;
use Symfony\\Component\\DependencyInjection\\ContainerBuilder;
use Symfony\\Component\\HttpKernel\\Bundle\\Bundle;

/**
 * Class MauticApiBundle.
 */
class MauticApiBundle extends Bundle
{
    /**
     * {@inheritdoc}
     */
    public function build(ContainerBuilder \$container)
    {
        parent::build(\$container);

        \$container->addCompilerPass(new SerializerPass());

        \$extension = \$container->getExtension('security');
        \$extension->addSecurityListenerFactory(new ApiFactory());
    }
}
";
    }

    public function getTemplateName()
    {
        return "@bundles/ApiBundle/MauticApiBundle.php";
    }

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

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