var/cache/dev/twig/bf/bf06febd43c3900ffd936e472c9d4ecc9615f60b9be55e1c1be60fdc7f48267b.php line 108

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* @WebProfiler/Profiler/toolbar.html.twig */
  14. class __TwigTemplate_d4aa5a3a5ca1db847fe2a038ce61e87c896eea394086527ad0c26615ea7c1366 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Profiler/toolbar.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Profiler/toolbar.html.twig"));
  33.         // line 1
  34.         echo "<!-- START of Symfony Web Debug Toolbar -->
  35. <div id=\"sfMiniToolbar-";
  36.         // line 2
  37.         echo twig_escape_filter($this->env, (isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'2$this->source); })()), "html"nulltrue);
  38.         echo "\" class=\"sf-minitoolbar\" data-no-turbolink>
  39.     <button type=\"button\" title=\"Show Symfony toolbar\" id=\"sfToolbarMiniToggler-";
  40.         // line 3
  41.         echo twig_escape_filter($this->env, (isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'3$this->source); })()), "html"nulltrue);
  42.         echo "\" accesskey=\"D\" aria-expanded=\"false\" aria-controls=\"sfToolbarMainContent-";
  43.         echo twig_escape_filter($this->env, (isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'3$this->source); })()), "html"nulltrue);
  44.         echo "\">
  45.         ";
  46.         // line 4
  47.         echo twig_include($this->env$context"@WebProfiler/Icon/symfony.svg");
  48.         echo "
  49.     </button>
  50. </div>
  51. <div id=\"sfToolbarClearer-";
  52.         // line 7
  53.         echo twig_escape_filter($this->env, (isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'7$this->source); })()), "html"nulltrue);
  54.         echo "\" class=\"sf-toolbar-clearer\"></div>
  55. <div id=\"sfToolbarMainContent-";
  56.         // line 9
  57.         echo twig_escape_filter($this->env, (isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'9$this->source); })()), "html"nulltrue);
  58.         echo "\" class=\"sf-toolbarreset clear-fix\" data-no-turbolink>
  59.     ";
  60.         // line 10
  61.         $context['_parent'] = $context;
  62.         $context['_seq'] = twig_ensure_traversable((isset($context["templates"]) || array_key_exists("templates"$context) ? $context["templates"] : (function () { throw new RuntimeError('Variable "templates" does not exist.'10$this->source); })()));
  63.         $context['loop'] = [
  64.           'parent' => $context['_parent'],
  65.           'index0' => 0,
  66.           'index'  => 1,
  67.           'first'  => true,
  68.         ];
  69.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  70.             $length count($context['_seq']);
  71.             $context['loop']['revindex0'] = $length 1;
  72.             $context['loop']['revindex'] = $length;
  73.             $context['loop']['length'] = $length;
  74.             $context['loop']['last'] = === $length;
  75.         }
  76.         foreach ($context['_seq'] as $context["name"] => $context["template"]) {
  77.             // line 11
  78.             echo "        ";
  79.             if (            $this->loadTemplate($context["template"], "@WebProfiler/Profiler/toolbar.html.twig"11)->hasBlock("toolbar"$context)) {
  80.                 // line 12
  81.                 echo "            ";
  82.                 $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4 $context;
  83.                 $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 = ["collector" => ((                // line 13
  84. (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'13$this->source); })())) ? (twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'13$this->source); })()), "getcollector", [=> $context["name"]], "method"falsefalsefalse13)) : (null)), "profiler_url" =>                 // line 14
  85. (isset($context["profiler_url"]) || array_key_exists("profiler_url"$context) ? $context["profiler_url"] : (function () { throw new RuntimeError('Variable "profiler_url" does not exist.'14$this->source); })()), "token" => ((                // line 15
  86. $context["token"]) ?? ((((isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'15$this->source); })())) ? (twig_get_attribute($this->env$this->source, (isset($context["profile"]) || array_key_exists("profile"$context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.'15$this->source); })()), "token", [], "any"falsefalsefalse15)) : (null)))), "name" =>                 // line 16
  87. $context["name"], "profiler_markup_version" =>                 // line 17
  88. (isset($context["profiler_markup_version"]) || array_key_exists("profiler_markup_version"$context) ? $context["profiler_markup_version"] : (function () { throw new RuntimeError('Variable "profiler_markup_version" does not exist.'17$this->source); })()), "csp_script_nonce" =>                 // line 18
  89. (isset($context["csp_script_nonce"]) || array_key_exists("csp_script_nonce"$context) ? $context["csp_script_nonce"] : (function () { throw new RuntimeError('Variable "csp_script_nonce" does not exist.'18$this->source); })()), "csp_style_nonce" =>                 // line 19
  90. (isset($context["csp_style_nonce"]) || array_key_exists("csp_style_nonce"$context) ? $context["csp_style_nonce"] : (function () { throw new RuntimeError('Variable "csp_style_nonce" does not exist.'19$this->source); })())];
  91.                 if (!twig_test_iterable($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144)) {
  92.                     throw new RuntimeError('Variables passed to the "with" tag must be a hash.'13$this->getSourceContext());
  93.                 }
  94.                 $__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144 twig_to_array($__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144);
  95.                 $context $this->env->mergeGlobals(array_merge($context$__internal_62824350bc4502ee19dbc2e99fc6bdd3bd90e7d8dd6e72f42c35efd048542144));
  96.                 // line 21
  97.                 echo "                ";
  98.                 $this->loadTemplate($context["template"], "@WebProfiler/Profiler/toolbar.html.twig"21)->displayBlock("toolbar"$context);
  99.                 echo "
  100.             ";
  101.                 $context $__internal_f607aeef2c31a95a7bf963452dff024ffaeb6aafbe4603f9ca3bec57be8633f4;
  102.                 // line 23
  103.                 echo "        ";
  104.             }
  105.             // line 24
  106.             echo "    ";
  107.             ++$context['loop']['index0'];
  108.             ++$context['loop']['index'];
  109.             $context['loop']['first'] = false;
  110.             if (isset($context['loop']['length'])) {
  111.                 --$context['loop']['revindex0'];
  112.                 --$context['loop']['revindex'];
  113.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  114.             }
  115.         }
  116.         $_parent $context['_parent'];
  117.         unset($context['_seq'], $context['_iterated'], $context['name'], $context['template'], $context['_parent'], $context['loop']);
  118.         $context array_intersect_key($context$_parent) + $_parent;
  119.         // line 25
  120.         echo "    ";
  121.         if ((isset($context["full_stack"]) || array_key_exists("full_stack"$context) ? $context["full_stack"] : (function () { throw new RuntimeError('Variable "full_stack" does not exist.'25$this->source); })())) {
  122.             // line 26
  123.             echo "        <div class=\"sf-full-stack sf-toolbar-block sf-toolbar-block-full-stack sf-toolbar-status-red sf-toolbar-block-right\">
  124.             <div class=\"sf-toolbar-icon\">
  125.                 <span class=\"sf-toolbar-value\">Using symfony/symfony is NOT supported</span>
  126.             </div>
  127.             <div class=\"sf-toolbar-info sf-toolbar-status-red\">
  128.                 <p>This project is using Symfony via the \"symfony/symfony\" package.</p>
  129.                 <p>This is NOT supported anymore since Symfony 4.0.</p>
  130.                 <p>Even if it seems to work well, it has some important limitations with no workarounds.</p>
  131.                 <p>Using this package also makes your project slower.</p>
  132.                 <strong>Please, stop using this package and replace it with individual packages instead.</strong>
  133.             </div>
  134.             <div></div>
  135.         </div>
  136.     ";
  137.         }
  138.         // line 41
  139.         echo "
  140.     <button class=\"hide-button\" type=\"button\" id=\"sfToolbarHideButton-";
  141.         // line 42
  142.         echo twig_escape_filter($this->env, (isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'42$this->source); })()), "html"nulltrue);
  143.         echo "\" title=\"Close Toolbar\" accesskey=\"D\" aria-expanded=\"true\" aria-controls=\"sfToolbarMainContent-";
  144.         echo twig_escape_filter($this->env, (isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'42$this->source); })()), "html"nulltrue);
  145.         echo "\">
  146.         ";
  147.         // line 43
  148.         echo twig_include($this->env$context"@WebProfiler/Icon/close.svg");
  149.         echo "
  150.     </button>
  151. </div>
  152. <!-- END of Symfony Web Debug Toolbar -->
  153. ";
  154.         
  155.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  156.         
  157.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  158.     }
  159.     public function getTemplateName()
  160.     {
  161.         return "@WebProfiler/Profiler/toolbar.html.twig";
  162.     }
  163.     public function isTraitable()
  164.     {
  165.         return false;
  166.     }
  167.     public function getDebugInfo()
  168.     {
  169.         return array (  159 => 43,  153 => 42,  150 => 41,  133 => 26,  130 => 25,  116 => 24,  113 => 23,  107 => 21,  100 => 19,  99 => 18,  98 => 17,  97 => 16,  96 => 15,  95 => 14,  94 => 13,  91 => 12,  88 => 11,  71 => 10,  67 => 9,  62 => 7,  56 => 4,  50 => 3,  46 => 2,  43 => 1,);
  170.     }
  171.     public function getSourceContext()
  172.     {
  173.         return new Source("<!-- START of Symfony Web Debug Toolbar -->
  174. <div id=\"sfMiniToolbar-{{ token }}\" class=\"sf-minitoolbar\" data-no-turbolink>
  175.     <button type=\"button\" title=\"Show Symfony toolbar\" id=\"sfToolbarMiniToggler-{{ token }}\" accesskey=\"D\" aria-expanded=\"false\" aria-controls=\"sfToolbarMainContent-{{ token }}\">
  176.         {{ include('@WebProfiler/Icon/symfony.svg') }}
  177.     </button>
  178. </div>
  179. <div id=\"sfToolbarClearer-{{ token }}\" class=\"sf-toolbar-clearer\"></div>
  180. <div id=\"sfToolbarMainContent-{{ token }}\" class=\"sf-toolbarreset clear-fix\" data-no-turbolink>
  181.     {% for name, template in templates %}
  182.         {% if block('toolbar', template) is defined %}
  183.             {% with {
  184.                 collector: profile ? profile.getcollector(name) : null,
  185.                 profiler_url: profiler_url,
  186.                 token: token ?? (profile ? profile.token : null),
  187.                 name: name,
  188.                 profiler_markup_version: profiler_markup_version,
  189.                 csp_script_nonce: csp_script_nonce,
  190.                 csp_style_nonce: csp_style_nonce
  191.               } %}
  192.                 {{ block('toolbar', template) }}
  193.             {% endwith %}
  194.         {% endif %}
  195.     {% endfor %}
  196.     {% if full_stack %}
  197.         <div class=\"sf-full-stack sf-toolbar-block sf-toolbar-block-full-stack sf-toolbar-status-red sf-toolbar-block-right\">
  198.             <div class=\"sf-toolbar-icon\">
  199.                 <span class=\"sf-toolbar-value\">Using symfony/symfony is NOT supported</span>
  200.             </div>
  201.             <div class=\"sf-toolbar-info sf-toolbar-status-red\">
  202.                 <p>This project is using Symfony via the \"symfony/symfony\" package.</p>
  203.                 <p>This is NOT supported anymore since Symfony 4.0.</p>
  204.                 <p>Even if it seems to work well, it has some important limitations with no workarounds.</p>
  205.                 <p>Using this package also makes your project slower.</p>
  206.                 <strong>Please, stop using this package and replace it with individual packages instead.</strong>
  207.             </div>
  208.             <div></div>
  209.         </div>
  210.     {% endif %}
  211.     <button class=\"hide-button\" type=\"button\" id=\"sfToolbarHideButton-{{ token }}\" title=\"Close Toolbar\" accesskey=\"D\" aria-expanded=\"true\" aria-controls=\"sfToolbarMainContent-{{ token }}\">
  212.         {{ include('@WebProfiler/Icon/close.svg') }}
  213.     </button>
  214. </div>
  215. <!-- END of Symfony Web Debug Toolbar -->
  216. ""@WebProfiler/Profiler/toolbar.html.twig""/home/www/client/www/CPT003/aoyoscrmdev/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/toolbar.html.twig");
  217.     }
  218. }