<?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/DependencyInjection/Compiler/ConfiguratorPass.php */
class __TwigTemplate_532c9d0e24c6dea19e2caab324ec4c1f 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\\DependencyInjection\\Compiler;

use Symfony\\Component\\DependencyInjection\\Compiler\\CompilerPassInterface;
use Symfony\\Component\\DependencyInjection\\ContainerBuilder;
use Symfony\\Component\\DependencyInjection\\Reference;

/**
 * Class ConfiguratorPass.
 */
class ConfiguratorPass implements CompilerPassInterface
{
    /**
     * {@inheritdoc}
     */
    public function process(ContainerBuilder \$container)
    {
        if (!\$container->hasDefinition('mautic.configurator')) {
            return;
        }

        \$configuratorDef = \$container->findDefinition('mautic.configurator');

        foreach (\$container->findTaggedServiceIds('mautic.configurator.step') as \$id => \$tags) {
            \$priority = isset(\$tags[0]['priority']) ? \$tags[0]['priority'] : 0;
            \$configuratorDef->addMethodCall('addStep', [new Reference(\$id), \$priority]);
        }
    }
}
";
    }

    public function getTemplateName()
    {
        return "@bundles/CoreBundle/DependencyInjection/Compiler/ConfiguratorPass.php";
    }

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

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