var/cache/dev/twig/f8/f8371a30a141d5c122949944c4d47b17.php line 59

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. use Twig\TemplateWrapper;
  15. /* @WebProfiler/Profiler/info.html.twig */
  16. class __TwigTemplate_2d6f5d263b31328aa11ef67d289efa29 extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'summary' => [$this'block_summary'],
  29.             'panel' => [$this'block_panel'],
  30.         ];
  31.     }
  32.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33.     {
  34.         // line 1
  35.         return "@WebProfiler/Profiler/layout.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = []): iterable
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Profiler/info.html.twig"));
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Profiler/info.html.twig"));
  44.         // line 3
  45.         $context["messages"] = ["no_token" => ["status" => "error""title" => (((((        // line 6
  46. array_key_exists("token"$context)) ? (Twig\Extension\CoreExtension::default((isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'6$this->source); })()), "")) : ("")) == "latest")) ? ("There are no profiles") : ("Token not found")), "message" => (((((        // line 7
  47. array_key_exists("token"$context)) ? (Twig\Extension\CoreExtension::default((isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'7$this->source); })()), "")) : ("")) == "latest")) ? ("No profiles found.") : ((("Token \"" . ((array_key_exists("token"$context)) ? (Twig\Extension\CoreExtension::default((isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'7$this->source); })()), "")) : (""))) . "\" not found.")))]];
  48.         // line 1
  49.         $this->parent $this->load("@WebProfiler/Profiler/layout.html.twig"1);
  50.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  51.         
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  53.         
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  55.     }
  56.     // line 11
  57.     /**
  58.      * @return iterable<null|scalar|\Stringable>
  59.      */
  60.     public function block_summary(array $context, array $blocks = []): iterable
  61.     {
  62.         $macros $this->macros;
  63.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""summary"));
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""summary"));
  67.         // line 12
  68.         yield "    <div class=\"status status-";
  69.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["messages"]) || array_key_exists("messages"$context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.'12$this->source); })()), (isset($context["about"]) || array_key_exists("about"$context) ? $context["about"] : (function () { throw new RuntimeError('Variable "about" does not exist.'12$this->source); })()), [], "array"falsefalsefalse12), "status", [], "any"falsefalsefalse12), "html"nulltrue);
  70.         yield "\">
  71.         <div class=\"container\">
  72.             <h2>";
  73.         // line 14
  74.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::titleCase($this->env->getCharset(), CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["messages"]) || array_key_exists("messages"$context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.'14$this->source); })()), (isset($context["about"]) || array_key_exists("about"$context) ? $context["about"] : (function () { throw new RuntimeError('Variable "about" does not exist.'14$this->source); })()), [], "array"falsefalsefalse14), "status", [], "any"falsefalsefalse14)), "html"nulltrue);
  75.         yield "</h2>
  76.         </div>
  77.     </div>
  78. ";
  79.         
  80.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  81.         
  82.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  83.         yield from [];
  84.     }
  85.     // line 19
  86.     /**
  87.      * @return iterable<null|scalar|\Stringable>
  88.      */
  89.     public function block_panel(array $context, array $blocks = []): iterable
  90.     {
  91.         $macros $this->macros;
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  94.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  96.         // line 20
  97.         yield "    <h2>";
  98.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["messages"]) || array_key_exists("messages"$context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.'20$this->source); })()), (isset($context["about"]) || array_key_exists("about"$context) ? $context["about"] : (function () { throw new RuntimeError('Variable "about" does not exist.'20$this->source); })()), [], "array"falsefalsefalse20), "title", [], "any"falsefalsefalse20), "html"nulltrue);
  99.         yield "</h2>
  100.     <p>";
  101.         // line 21
  102.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["messages"]) || array_key_exists("messages"$context) ? $context["messages"] : (function () { throw new RuntimeError('Variable "messages" does not exist.'21$this->source); })()), (isset($context["about"]) || array_key_exists("about"$context) ? $context["about"] : (function () { throw new RuntimeError('Variable "about" does not exist.'21$this->source); })()), [], "array"falsefalsefalse21), "message", [], "any"falsefalsefalse21), "html"nulltrue);
  103.         yield "</p>
  104. ";
  105.         
  106.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  107.         
  108.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  109.         yield from [];
  110.     }
  111.     /**
  112.      * @codeCoverageIgnore
  113.      */
  114.     public function getTemplateName(): string
  115.     {
  116.         return "@WebProfiler/Profiler/info.html.twig";
  117.     }
  118.     /**
  119.      * @codeCoverageIgnore
  120.      */
  121.     public function isTraitable(): bool
  122.     {
  123.         return false;
  124.     }
  125.     /**
  126.      * @codeCoverageIgnore
  127.      */
  128.     public function getDebugInfo(): array
  129.     {
  130.         return array (  121 => 21,  116 => 20,  103 => 19,  88 => 14,  82 => 12,  69 => 11,  58 => 1,  56 => 7,  55 => 6,  54 => 3,  41 => 1,);
  131.     }
  132.     public function getSourceContext(): Source
  133.     {
  134.         return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
  135. {% set messages = {
  136.     'no_token' : {
  137.         status:  'error',
  138.         title:   (token|default('') == 'latest') ? 'There are no profiles' : 'Token not found',
  139.         message: (token|default('') == 'latest') ? 'No profiles found.' : 'Token \"' ~ token|default('') ~ '\" not found.'
  140.     }
  141. } %}
  142. {% block summary %}
  143.     <div class=\"status status-{{ messages[about].status }}\">
  144.         <div class=\"container\">
  145.             <h2>{{ messages[about].status|title }}</h2>
  146.         </div>
  147.     </div>
  148. {% endblock %}
  149. {% block panel %}
  150.     <h2>{{ messages[about].title }}</h2>
  151.     <p>{{ messages[about].message }}</p>
  152. {% endblock %}
  153. ""@WebProfiler/Profiler/info.html.twig""/var/www/html/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/info.html.twig");
  154.     }
  155. }