var/cache/dev/twig/0b/0b32c91db4d7dcc1e12941bb1e89e042.php line 54

  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/info.html.twig */
  14. class __TwigTemplate_6b8603595ad7e8a4f988fb671b235ad5 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->blocks = [
  23.             'summary' => [$this'block_summary'],
  24.             'panel' => [$this'block_panel'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "@WebProfiler/Profiler/layout.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Profiler/info.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Profiler/info.html.twig"));
  39.         // line 3
  40.         $context["messages"] = ["no_token" => ["status" => "error""title" => (((((        // line 6
  41. array_key_exists("token"$context)) ? (_twig_default_filter((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
  42. array_key_exists("token"$context)) ? (_twig_default_filter((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_default_filter((isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'7$this->source); })()), "")) : (""))) . "\" not found.")))]];
  43.         // line 1
  44.         $this->parent $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig""@WebProfiler/Profiler/info.html.twig"1);
  45.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  46.         
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  48.         
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  50.     }
  51.     // line 11
  52.     public function block_summary($context, array $blocks = [])
  53.     {
  54.         $macros $this->macros;
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""summary"));
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""summary"));
  59.         // line 12
  60.         echo "    <div class=\"status status-";
  61.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($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);
  62.         echo "\">
  63.         <div class=\"container\">
  64.             <h2>";
  65.         // line 14
  66.         echo twig_escape_filter($this->envtwig_title_string_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($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);
  67.         echo "</h2>
  68.         </div>
  69.     </div>
  70. ";
  71.         
  72.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  73.         
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  75.     }
  76.     // line 19
  77.     public function block_panel($context, array $blocks = [])
  78.     {
  79.         $macros $this->macros;
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  84.         // line 20
  85.         echo "    <h2>";
  86.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($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);
  87.         echo "</h2>
  88.     <p>";
  89.         // line 21
  90.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($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);
  91.         echo "</p>
  92. ";
  93.         
  94.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  95.         
  96.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  97.     }
  98.     public function getTemplateName()
  99.     {
  100.         return "@WebProfiler/Profiler/info.html.twig";
  101.     }
  102.     public function isTraitable()
  103.     {
  104.         return false;
  105.     }
  106.     public function getDebugInfo()
  107.     {
  108.         return array (  109 => 21,  104 => 20,  94 => 19,  80 => 14,  74 => 12,  64 => 11,  53 => 1,  51 => 7,  50 => 6,  49 => 3,  36 => 1,);
  109.     }
  110.     public function getSourceContext()
  111.     {
  112.         return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
  113. {% set messages = {
  114.     'no_token' : {
  115.         status:  'error',
  116.         title:   (token|default('') == 'latest') ? 'There are no profiles' : 'Token not found',
  117.         message: (token|default('') == 'latest') ? 'No profiles found.' : 'Token \"' ~ token|default('') ~ '\" not found.'
  118.     }
  119. } %}
  120. {% block summary %}
  121.     <div class=\"status status-{{ messages[about].status }}\">
  122.         <div class=\"container\">
  123.             <h2>{{ messages[about].status|title }}</h2>
  124.         </div>
  125.     </div>
  126. {% endblock %}
  127. {% block panel %}
  128.     <h2>{{ messages[about].title }}</h2>
  129.     <p>{{ messages[about].message }}</p>
  130. {% endblock %}
  131. ""@WebProfiler/Profiler/info.html.twig""/home/bestofi/bestof/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/info.html.twig");
  132.     }
  133. }