Deprecated: Symfony\Component\Translation\t(): Implicitly marking parameter $domain as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/translation/Resources/functions.php on line 18

Deprecated: Symfony\Component\Dotenv\Dotenv::loadEnv(): Implicitly marking parameter $envKey as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/dotenv/Dotenv.php on line 110

Deprecated: Symfony\Component\Runtime\GenericRuntime::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/GenericRuntime.php on line 89

Deprecated: Symfony\Component\Runtime\RuntimeInterface::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/RuntimeInterface.php on line 26

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $argv as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\Input::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/Input.php on line 36

Deprecated: Constant E_STRICT is deprecated in /var/www/html/t/taurushr/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /var/www/html/t/taurushr/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

var/cache/dev/twig/e0/e0b9f512ab84c97cc2540d50ecd0b724.php line 50

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/Collector/cache.html.twig */
  14. class __TwigTemplate_6792c672e61f11151b934d7a1ba54802 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.             'toolbar' => [$this'block_toolbar'],
  24.             'menu' => [$this'block_menu'],
  25.             'panel' => [$this'block_panel'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "@WebProfiler/Profiler/layout.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Collector/cache.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@WebProfiler/Collector/cache.html.twig"));
  40.         $this->parent $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig""@WebProfiler/Collector/cache.html.twig"1);
  41.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  44.         
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  46.     }
  47.     // line 3
  48.     public function block_toolbar($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""toolbar"));
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""toolbar"));
  55.         // line 4
  56.         echo "    ";
  57.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'4$this->source); })()), "totals", [], "any"falsefalsefalse4), "calls", [], "any"falsefalsefalse4) > 0)) {
  58.             // line 5
  59.             echo "        ";
  60.             ob_start();
  61.             // line 6
  62.             echo "            ";
  63.             echo twig_include($this->env$context"@WebProfiler/Icon/cache.svg");
  64.             echo "
  65.             <span class=\"sf-toolbar-value\">";
  66.             // line 7
  67.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'7$this->source); })()), "totals", [], "any"falsefalsefalse7), "calls", [], "any"falsefalsefalse7), "html"nulltrue);
  68.             echo "</span>
  69.             <span class=\"sf-toolbar-info-piece-additional-detail\">
  70.                 <span class=\"sf-toolbar-label\">in</span>
  71.                 <span class=\"sf-toolbar-value\">";
  72.             // line 10
  73.             echo twig_escape_filter($this->envtwig_sprintf("%0.2f", (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'10$this->source); })()), "totals", [], "any"falsefalsefalse10), "time", [], "any"falsefalsefalse10) * 1000)), "html"nulltrue);
  74.             echo "</span>
  75.                 <span class=\"sf-toolbar-label\">ms</span>
  76.             </span>
  77.         ";
  78.             $context["icon"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  79.             // line 14
  80.             echo "        ";
  81.             ob_start();
  82.             // line 15
  83.             echo "        <div class=\"sf-toolbar-info-piece\">
  84.             <b>Cache Calls</b>
  85.             <span>";
  86.             // line 17
  87.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'17$this->source); })()), "totals", [], "any"falsefalsefalse17), "calls", [], "any"falsefalsefalse17), "html"nulltrue);
  88.             echo "</span>
  89.         </div>
  90.         <div class=\"sf-toolbar-info-piece\">
  91.             <b>Total time</b>
  92.             <span>";
  93.             // line 21
  94.             echo twig_escape_filter($this->envtwig_sprintf("%0.2f", (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'21$this->source); })()), "totals", [], "any"falsefalsefalse21), "time", [], "any"falsefalsefalse21) * 1000)), "html"nulltrue);
  95.             echo " ms</span>
  96.         </div>
  97.         <div class=\"sf-toolbar-info-piece\">
  98.             <b>Cache hits</b>
  99.             <span>";
  100.             // line 25
  101.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'25$this->source); })()), "totals", [], "any"falsefalsefalse25), "hits", [], "any"falsefalsefalse25), "html"nulltrue);
  102.             echo " / ";
  103.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'25$this->source); })()), "totals", [], "any"falsefalsefalse25), "reads", [], "any"falsefalsefalse25), "html"nulltrue);
  104.             if ( !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'25$this->source); })()), "totals", [], "any"falsefalsefalse25), "hit_read_ratio", [], "any"falsefalsefalse25))) {
  105.                 echo " (";
  106.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'25$this->source); })()), "totals", [], "any"falsefalsefalse25), "hit_read_ratio", [], "any"falsefalsefalse25), "html"nulltrue);
  107.                 echo "%)";
  108.             }
  109.             echo "</span>
  110.         </div>
  111.         <div class=\"sf-toolbar-info-piece\">
  112.             <b>Cache writes</b>
  113.             <span>";
  114.             // line 29
  115.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'29$this->source); })()), "totals", [], "any"falsefalsefalse29), "writes", [], "any"falsefalsefalse29), "html"nulltrue);
  116.             echo "</span>
  117.         </div>
  118.         ";
  119.             $context["text"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  120.             // line 32
  121.             echo "
  122.         ";
  123.             // line 33
  124.             echo twig_include($this->env$context"@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => (isset($context["profiler_url"]) || array_key_exists("profiler_url"$context) ? $context["profiler_url"] : (function () { throw new RuntimeError('Variable "profiler_url" does not exist.'33$this->source); })())]);
  125.             echo "
  126.     ";
  127.         }
  128.         
  129.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  130.         
  131.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  132.     }
  133.     // line 37
  134.     public function block_menu($context, array $blocks = [])
  135.     {
  136.         $macros $this->macros;
  137.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  138.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  139.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  140.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  141.         // line 38
  142.         echo "    <span class=\"label ";
  143.         echo (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'38$this->source); })()), "totals", [], "any"falsefalsefalse38), "calls", [], "any"falsefalsefalse38) == 0)) ? ("disabled") : (""));
  144.         echo "\">
  145.     <span class=\"icon\">
  146.         ";
  147.         // line 40
  148.         echo twig_include($this->env$context"@WebProfiler/Icon/cache.svg");
  149.         echo "
  150.     </span>
  151.     <strong>Cache</strong>
  152. </span>
  153. ";
  154.         
  155.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  156.         
  157.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  158.     }
  159.     // line 46
  160.     public function block_panel($context, array $blocks = [])
  161.     {
  162.         $macros $this->macros;
  163.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  164.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  165.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  166.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  167.         // line 47
  168.         echo "    <h2>Cache</h2>
  169.     ";
  170.         // line 49
  171.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'49$this->source); })()), "totals", [], "any"falsefalsefalse49), "calls", [], "any"falsefalsefalse49) == 0)) {
  172.             // line 50
  173.             echo "        <div class=\"empty\">
  174.             <p>No cache calls were made.</p>
  175.         </div>
  176.     ";
  177.         } else {
  178.             // line 54
  179.             echo "        <div class=\"metrics\">
  180.             <div class=\"metric\">
  181.                 <span class=\"value\">";
  182.             // line 56
  183.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'56$this->source); })()), "totals", [], "any"falsefalsefalse56), "calls", [], "any"falsefalsefalse56), "html"nulltrue);
  184.             echo "</span>
  185.                 <span class=\"label\">Total calls</span>
  186.             </div>
  187.             <div class=\"metric\">
  188.                 <span class=\"value\">";
  189.             // line 60
  190.             echo twig_escape_filter($this->envtwig_sprintf("%0.2f", (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'60$this->source); })()), "totals", [], "any"falsefalsefalse60), "time", [], "any"falsefalsefalse60) * 1000)), "html"nulltrue);
  191.             echo " <span class=\"unit\">ms</span></span>
  192.                 <span class=\"label\">Total time</span>
  193.             </div>
  194.             <div class=\"metric-divider\"></div>
  195.             <div class=\"metric\">
  196.                 <span class=\"value\">";
  197.             // line 65
  198.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'65$this->source); })()), "totals", [], "any"falsefalsefalse65), "reads", [], "any"falsefalsefalse65), "html"nulltrue);
  199.             echo "</span>
  200.                 <span class=\"label\">Total reads</span>
  201.             </div>
  202.             <div class=\"metric\">
  203.                 <span class=\"value\">";
  204.             // line 69
  205.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'69$this->source); })()), "totals", [], "any"falsefalsefalse69), "writes", [], "any"falsefalsefalse69), "html"nulltrue);
  206.             echo "</span>
  207.                 <span class=\"label\">Total writes</span>
  208.             </div>
  209.             <div class=\"metric\">
  210.                 <span class=\"value\">";
  211.             // line 73
  212.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'73$this->source); })()), "totals", [], "any"falsefalsefalse73), "deletes", [], "any"falsefalsefalse73), "html"nulltrue);
  213.             echo "</span>
  214.                 <span class=\"label\">Total deletes</span>
  215.             </div>
  216.             <div class=\"metric-divider\"></div>
  217.             <div class=\"metric\">
  218.                 <span class=\"value\">";
  219.             // line 78
  220.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'78$this->source); })()), "totals", [], "any"falsefalsefalse78), "hits", [], "any"falsefalsefalse78), "html"nulltrue);
  221.             echo "</span>
  222.                 <span class=\"label\">Total hits</span>
  223.             </div>
  224.             <div class=\"metric\">
  225.                 <span class=\"value\">";
  226.             // line 82
  227.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'82$this->source); })()), "totals", [], "any"falsefalsefalse82), "misses", [], "any"falsefalsefalse82), "html"nulltrue);
  228.             echo "</span>
  229.                 <span class=\"label\">Total misses</span>
  230.             </div>
  231.             <div class=\"metric\">
  232.                 <span class=\"value\">
  233.                     ";
  234.             // line 87
  235.             (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "totals", [], "any"falsetruefalse87), "hit_read_ratio", [], "any"truetruefalse87) &&  !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "totals", [], "any"falsetruefalse87), "hit_read_ratio", [], "any"falsefalsefalse87)))) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "totals", [], "any"falsetruefalse87), "hit_read_ratio", [], "any"falsefalsefalse87), "html"nulltrue))) : (print (0)));
  236.             echo " <span class=\"unit\">%</span>
  237.                 </span>
  238.                 <span class=\"label\">Hits/reads</span>
  239.             </div>
  240.         </div>
  241.         <h2>Pools</h2>
  242.         <div class=\"sf-tabs\">
  243.             ";
  244.             // line 95
  245.             $context['_parent'] = $context;
  246.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'95$this->source); })()), "calls", [], "any"falsefalsefalse95));
  247.             foreach ($context['_seq'] as $context["name"] => $context["calls"]) {
  248.                 // line 96
  249.                 echo "                <div class=\"tab ";
  250.                 echo (((twig_length_filter($this->env$context["calls"]) == 0)) ? ("disabled") : (""));
  251.                 echo "\">
  252.                     <h3 class=\"tab-title\">";
  253.                 // line 97
  254.                 echo twig_escape_filter($this->env$context["name"], "html"nulltrue);
  255.                 echo " <span class=\"badge\">";
  256.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'97$this->source); })()), "statistics", [], "any"falsefalsefalse97), $context["name"], [], "array"falsefalsefalse97), "calls", [], "any"falsefalsefalse97), "html"nulltrue);
  257.                 echo "</span></h3>
  258.                     <div class=\"tab-content\">
  259.                         ";
  260.                 // line 100
  261.                 if ((twig_length_filter($this->env$context["calls"]) == 0)) {
  262.                     // line 101
  263.                     echo "                            <div class=\"empty\">
  264.                                 <p>No calls were made for ";
  265.                     // line 102
  266.                     echo twig_escape_filter($this->env$context["name"], "html"nulltrue);
  267.                     echo " pool.</p>
  268.                             </div>
  269.                         ";
  270.                 } else {
  271.                     // line 105
  272.                     echo "                            <h4>Metrics</h4>
  273.                             <div class=\"metrics\">
  274.                                 ";
  275.                     // line 107
  276.                     $context['_parent'] = $context;
  277.                     $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'107$this->source); })()), "statistics", [], "any"falsefalsefalse107), $context["name"], [], "array"falsefalsefalse107));
  278.                     foreach ($context['_seq'] as $context["key"] => $context["value"]) {
  279.                         // line 108
  280.                         echo "                                    <div class=\"metric\">
  281.                                         <span class=\"value\">
  282.                                             ";
  283.                         // line 110
  284.                         if (($context["key"] == "time")) {
  285.                             // line 111
  286.                             echo "                                                ";
  287.                             echo twig_escape_filter($this->envtwig_sprintf("%0.2f", (1000 $context["value"])), "html"nulltrue);
  288.                             echo " <span class=\"unit\">ms</span>
  289.                                             ";
  290.                         } elseif ((                        // line 112
  291. $context["key"] == "hit_read_ratio")) {
  292.                             // line 113
  293.                             echo "                                                ";
  294.                             (((array_key_exists("value"$context) &&  !(null === $context["value"]))) ? (print (twig_escape_filter($this->env$context["value"], "html"nulltrue))) : (print (0)));
  295.                             echo " <span class=\"unit\">%</span>
  296.                                             ";
  297.                         } else {
  298.                             // line 115
  299.                             echo "                                                ";
  300.                             echo twig_escape_filter($this->env$context["value"], "html"nulltrue);
  301.                             echo "
  302.                                             ";
  303.                         }
  304.                         // line 117
  305.                         echo "                                        </span>
  306.                                         <span class=\"label\">";
  307.                         // line 118
  308.                         ((($context["key"] == "hit_read_ratio")) ? (print ("Hits/reads")) : (print (twig_escape_filter($this->envtwig_capitalize_string_filter($this->env$context["key"]), "html"nulltrue))));
  309.                         echo "</span>
  310.                                     </div>
  311.                                     ";
  312.                         // line 120
  313.                         if ((($context["key"] == "time") || ($context["key"] == "deletes"))) {
  314.                             // line 121
  315.                             echo "                                        <div class=\"metric-divider\"></div>
  316.                                     ";
  317.                         }
  318.                         // line 123
  319.                         echo "                                ";
  320.                     }
  321.                     $_parent $context['_parent'];
  322.                     unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
  323.                     $context array_intersect_key($context$_parent) + $_parent;
  324.                     // line 124
  325.                     echo "                            </div>
  326.                             <h4>Calls</h4>
  327.                             <table>
  328.                                 <thead>
  329.                                     <tr>
  330.                                         <th>#</th>
  331.                                         <th>Time</th>
  332.                                         <th>Call</th>
  333.                                         <th>Hit</th>
  334.                                     </tr>
  335.                                 </thead>
  336.                                 <tbody>
  337.                                 ";
  338.                     // line 137
  339.                     $context['_parent'] = $context;
  340.                     $context['_seq'] = twig_ensure_traversable($context["calls"]);
  341.                     $context['loop'] = [
  342.                       'parent' => $context['_parent'],
  343.                       'index0' => 0,
  344.                       'index'  => 1,
  345.                       'first'  => true,
  346.                     ];
  347.                     if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  348.                         $length count($context['_seq']);
  349.                         $context['loop']['revindex0'] = $length 1;
  350.                         $context['loop']['revindex'] = $length;
  351.                         $context['loop']['length'] = $length;
  352.                         $context['loop']['last'] = === $length;
  353.                     }
  354.                     foreach ($context['_seq'] as $context["_key"] => $context["call"]) {
  355.                         // line 138
  356.                         echo "                                    <tr>
  357.                                         <td class=\"font-normal text-small text-muted nowrap\">";
  358.                         // line 139
  359.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse139), "html"nulltrue);
  360.                         echo "</td>
  361.                                         <td class=\"nowrap\">";
  362.                         // line 140
  363.                         echo twig_escape_filter($this->envtwig_sprintf("%0.2f", ((twig_get_attribute($this->env$this->source$context["call"], "end", [], "any"falsefalsefalse140) - twig_get_attribute($this->env$this->source$context["call"], "start", [], "any"falsefalsefalse140)) * 1000)), "html"nulltrue);
  364.                         echo " ms</td>
  365.                                         <td class=\"nowrap\">";
  366.                         // line 141
  367.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["call"], "name", [], "any"falsefalsefalse141), "html"nulltrue);
  368.                         echo "()</td>
  369.                                         <td>";
  370.                         // line 142
  371.                         echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["call"], "value", [], "any"falsefalsefalse142), "result", [], "any"falsefalsefalse142), 2);
  372.                         echo "</td>
  373.                                     </tr>
  374.                                 ";
  375.                         ++$context['loop']['index0'];
  376.                         ++$context['loop']['index'];
  377.                         $context['loop']['first'] = false;
  378.                         if (isset($context['loop']['length'])) {
  379.                             --$context['loop']['revindex0'];
  380.                             --$context['loop']['revindex'];
  381.                             $context['loop']['last'] = === $context['loop']['revindex0'];
  382.                         }
  383.                     }
  384.                     $_parent $context['_parent'];
  385.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['call'], $context['_parent'], $context['loop']);
  386.                     $context array_intersect_key($context$_parent) + $_parent;
  387.                     // line 145
  388.                     echo "                                </tbody>
  389.                             </table>
  390.                         ";
  391.                 }
  392.                 // line 148
  393.                 echo "                    </div>
  394.                 </div>
  395.             ";
  396.             }
  397.             $_parent $context['_parent'];
  398.             unset($context['_seq'], $context['_iterated'], $context['name'], $context['calls'], $context['_parent'], $context['loop']);
  399.             $context array_intersect_key($context$_parent) + $_parent;
  400.             // line 151
  401.             echo "        </div>
  402.     ";
  403.         }
  404.         
  405.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  406.         
  407.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  408.     }
  409.     /**
  410.      * @codeCoverageIgnore
  411.      */
  412.     public function getTemplateName()
  413.     {
  414.         return "@WebProfiler/Collector/cache.html.twig";
  415.     }
  416.     /**
  417.      * @codeCoverageIgnore
  418.      */
  419.     public function isTraitable()
  420.     {
  421.         return false;
  422.     }
  423.     /**
  424.      * @codeCoverageIgnore
  425.      */
  426.     public function getDebugInfo()
  427.     {
  428.         return array (  429 => 151,  421 => 148,  416 => 145,  399 => 142,  395 => 141,  391 => 140,  387 => 139,  384 => 138,  367 => 137,  352 => 124,  346 => 123,  342 => 121,  340 => 120,  335 => 118,  332 => 117,  326 => 115,  320 => 113,  318 => 112,  313 => 111,  311 => 110,  307 => 108,  303 => 107,  299 => 105,  293 => 102,  290 => 101,  288 => 100,  280 => 97,  275 => 96,  271 => 95,  260 => 87,  252 => 82,  245 => 78,  237 => 73,  230 => 69,  223 => 65,  215 => 60,  208 => 56,  204 => 54,  198 => 50,  196 => 49,  192 => 47,  182 => 46,  167 => 40,  161 => 38,  151 => 37,  138 => 33,  135 => 32,  129 => 29,  115 => 25,  108 => 21,  101 => 17,  97 => 15,  94 => 14,  87 => 10,  81 => 7,  76 => 6,  73 => 5,  70 => 4,  60 => 3,  37 => 1,);
  429.     }
  430.     public function getSourceContext()
  431.     {
  432.         return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
  433. {% block toolbar %}
  434.     {% if collector.totals.calls > 0 %}
  435.         {% set icon %}
  436.             {{ include('@WebProfiler/Icon/cache.svg') }}
  437.             <span class=\"sf-toolbar-value\">{{ collector.totals.calls }}</span>
  438.             <span class=\"sf-toolbar-info-piece-additional-detail\">
  439.                 <span class=\"sf-toolbar-label\">in</span>
  440.                 <span class=\"sf-toolbar-value\">{{ '%0.2f'|format(collector.totals.time * 1000) }}</span>
  441.                 <span class=\"sf-toolbar-label\">ms</span>
  442.             </span>
  443.         {% endset %}
  444.         {% set text %}
  445.         <div class=\"sf-toolbar-info-piece\">
  446.             <b>Cache Calls</b>
  447.             <span>{{ collector.totals.calls }}</span>
  448.         </div>
  449.         <div class=\"sf-toolbar-info-piece\">
  450.             <b>Total time</b>
  451.             <span>{{ '%0.2f'|format(collector.totals.time * 1000) }} ms</span>
  452.         </div>
  453.         <div class=\"sf-toolbar-info-piece\">
  454.             <b>Cache hits</b>
  455.             <span>{{ collector.totals.hits }} / {{ collector.totals.reads }}{% if collector.totals.hit_read_ratio is not null %} ({{ collector.totals.hit_read_ratio }}%){% endif %}</span>
  456.         </div>
  457.         <div class=\"sf-toolbar-info-piece\">
  458.             <b>Cache writes</b>
  459.             <span>{{ collector.totals.writes }}</span>
  460.         </div>
  461.         {% endset %}
  462.         {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url }) }}
  463.     {% endif %}
  464. {% endblock %}
  465. {% block menu %}
  466.     <span class=\"label {{ collector.totals.calls == 0 ? 'disabled' }}\">
  467.     <span class=\"icon\">
  468.         {{ include('@WebProfiler/Icon/cache.svg') }}
  469.     </span>
  470.     <strong>Cache</strong>
  471. </span>
  472. {% endblock %}
  473. {% block panel %}
  474.     <h2>Cache</h2>
  475.     {% if collector.totals.calls == 0 %}
  476.         <div class=\"empty\">
  477.             <p>No cache calls were made.</p>
  478.         </div>
  479.     {% else %}
  480.         <div class=\"metrics\">
  481.             <div class=\"metric\">
  482.                 <span class=\"value\">{{ collector.totals.calls }}</span>
  483.                 <span class=\"label\">Total calls</span>
  484.             </div>
  485.             <div class=\"metric\">
  486.                 <span class=\"value\">{{ '%0.2f'|format(collector.totals.time * 1000) }} <span class=\"unit\">ms</span></span>
  487.                 <span class=\"label\">Total time</span>
  488.             </div>
  489.             <div class=\"metric-divider\"></div>
  490.             <div class=\"metric\">
  491.                 <span class=\"value\">{{ collector.totals.reads }}</span>
  492.                 <span class=\"label\">Total reads</span>
  493.             </div>
  494.             <div class=\"metric\">
  495.                 <span class=\"value\">{{ collector.totals.writes }}</span>
  496.                 <span class=\"label\">Total writes</span>
  497.             </div>
  498.             <div class=\"metric\">
  499.                 <span class=\"value\">{{ collector.totals.deletes }}</span>
  500.                 <span class=\"label\">Total deletes</span>
  501.             </div>
  502.             <div class=\"metric-divider\"></div>
  503.             <div class=\"metric\">
  504.                 <span class=\"value\">{{ collector.totals.hits }}</span>
  505.                 <span class=\"label\">Total hits</span>
  506.             </div>
  507.             <div class=\"metric\">
  508.                 <span class=\"value\">{{ collector.totals.misses }}</span>
  509.                 <span class=\"label\">Total misses</span>
  510.             </div>
  511.             <div class=\"metric\">
  512.                 <span class=\"value\">
  513.                     {{ collector.totals.hit_read_ratio ?? 0 }} <span class=\"unit\">%</span>
  514.                 </span>
  515.                 <span class=\"label\">Hits/reads</span>
  516.             </div>
  517.         </div>
  518.         <h2>Pools</h2>
  519.         <div class=\"sf-tabs\">
  520.             {% for name, calls in collector.calls %}
  521.                 <div class=\"tab {{ calls|length == 0 ? 'disabled' }}\">
  522.                     <h3 class=\"tab-title\">{{ name }} <span class=\"badge\">{{ collector.statistics[name].calls }}</span></h3>
  523.                     <div class=\"tab-content\">
  524.                         {% if calls|length == 0 %}
  525.                             <div class=\"empty\">
  526.                                 <p>No calls were made for {{ name }} pool.</p>
  527.                             </div>
  528.                         {% else %}
  529.                             <h4>Metrics</h4>
  530.                             <div class=\"metrics\">
  531.                                 {% for key, value in collector.statistics[name] %}
  532.                                     <div class=\"metric\">
  533.                                         <span class=\"value\">
  534.                                             {% if key == 'time' %}
  535.                                                 {{ '%0.2f'|format(1000 * value) }} <span class=\"unit\">ms</span>
  536.                                             {% elseif key == 'hit_read_ratio' %}
  537.                                                 {{ value ?? 0 }} <span class=\"unit\">%</span>
  538.                                             {% else %}
  539.                                                 {{ value }}
  540.                                             {% endif %}
  541.                                         </span>
  542.                                         <span class=\"label\">{{ key == 'hit_read_ratio' ? 'Hits/reads' : key|capitalize }}</span>
  543.                                     </div>
  544.                                     {% if key == 'time' or key == 'deletes' %}
  545.                                         <div class=\"metric-divider\"></div>
  546.                                     {% endif %}
  547.                                 {% endfor %}
  548.                             </div>
  549.                             <h4>Calls</h4>
  550.                             <table>
  551.                                 <thead>
  552.                                     <tr>
  553.                                         <th>#</th>
  554.                                         <th>Time</th>
  555.                                         <th>Call</th>
  556.                                         <th>Hit</th>
  557.                                     </tr>
  558.                                 </thead>
  559.                                 <tbody>
  560.                                 {% for call in calls %}
  561.                                     <tr>
  562.                                         <td class=\"font-normal text-small text-muted nowrap\">{{ loop.index }}</td>
  563.                                         <td class=\"nowrap\">{{ '%0.2f'|format((call.end - call.start) * 1000) }} ms</td>
  564.                                         <td class=\"nowrap\">{{ call.name }}()</td>
  565.                                         <td>{{ profiler_dump(call.value.result, maxDepth=2) }}</td>
  566.                                     </tr>
  567.                                 {% endfor %}
  568.                                 </tbody>
  569.                             </table>
  570.                         {% endif %}
  571.                     </div>
  572.                 </div>
  573.             {% endfor %}
  574.         </div>
  575.     {% endif %}
  576. {% endblock %}
  577. ""@WebProfiler/Collector/cache.html.twig""/var/www/html/t/taurushr/vendor/symfony/web-profiler-bundle/Resources/views/Collector/cache.html.twig");
  578.     }
  579. }