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/fe/fe41bec08aa15265fd3bceefb057e635.php line 53

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. /* @Doctrine/Collector/db.html.twig */
  14. class __TwigTemplate_a831c9acd187786941efa36820fada5c 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.             'queries' => [$this'block_queries'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return $this->loadTemplate(((twig_get_attribute($this->env$this->source, (isset($context["request"]) || array_key_exists("request"$context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.'1$this->source); })()), "isXmlHttpRequest", [], "any"falsefalsefalse1)) ? ("@WebProfiler/Profiler/ajax_layout.html.twig") : ("@WebProfiler/Profiler/layout.html.twig")), "@Doctrine/Collector/db.html.twig"1);
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Doctrine/Collector/db.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Doctrine/Collector/db.html.twig"));
  41.         // line 3
  42.         $macros["helper"] = $this->macros["helper"] = $this;
  43.         // line 1
  44.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47.         
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  49.     }
  50.     // line 5
  51.     public function block_toolbar($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""toolbar"));
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""toolbar"));
  58.         // line 6
  59.         echo "    ";
  60.         if (((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.'6$this->source); })()), "querycount", [], "any"falsefalsefalse6) > 0) || (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.'6$this->source); })()), "invalidEntityCount", [], "any"falsefalsefalse6) > 0))) {
  61.             // line 7
  62.             echo "
  63.         ";
  64.             // line 8
  65.             ob_start();
  66.             // line 9
  67.             echo "            ";
  68.             $context["status"] = (((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.'9$this->source); })()), "invalidEntityCount", [], "any"falsefalsefalse9) > 0)) ? ("red") : ((((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.'9$this->source); })()), "querycount", [], "any"falsefalsefalse9) > 50)) ? ("yellow") : (""))));
  69.             // line 10
  70.             echo "
  71.             ";
  72.             // line 11
  73.             if (((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.'11$this->source); })()) >= 3)) {
  74.                 // line 12
  75.                 echo "                ";
  76.                 echo twig_include($this->env$context"@Doctrine/Collector/database.svg");
  77.                 echo "
  78.             ";
  79.             } else {
  80.                 // line 14
  81.                 echo "                <span class=\"icon\">";
  82.                 echo twig_include($this->env$context"@Doctrine/Collector/icon.svg");
  83.                 echo "</span>
  84.             ";
  85.             }
  86.             // line 16
  87.             echo "
  88.             ";
  89.             // line 17
  90.             if (((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.'17$this->source); })()), "querycount", [], "any"falsefalsefalse17) == 0) && (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.'17$this->source); })()), "invalidEntityCount", [], "any"falsefalsefalse17) > 0))) {
  91.                 // line 18
  92.                 echo "                <span class=\"sf-toolbar-value\">";
  93.                 echo twig_escape_filter($this->envtwig_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.'18$this->source); })()), "invalidEntityCount", [], "any"falsefalsefalse18), "html"nulltrue);
  94.                 echo "</span>
  95.                 <span class=\"sf-toolbar-label\">errors</span>
  96.             ";
  97.             } else {
  98.                 // line 21
  99.                 echo "                <span class=\"sf-toolbar-value\">";
  100.                 echo twig_escape_filter($this->envtwig_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); })()), "querycount", [], "any"falsefalsefalse21), "html"nulltrue);
  101.                 echo "</span>
  102.                 <span class=\"sf-toolbar-info-piece-additional-detail\">
  103.                     <span class=\"sf-toolbar-label\">in</span>
  104.                     <span class=\"sf-toolbar-value\">";
  105.                 // line 24
  106.                 echo twig_escape_filter($this->envtwig_sprintf("%0.2f", (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.'24$this->source); })()), "time", [], "any"falsefalsefalse24) * 1000)), "html"nulltrue);
  107.                 echo "</span>
  108.                     <span class=\"sf-toolbar-label\">ms</span>
  109.                 </span>
  110.             ";
  111.             }
  112.             // line 28
  113.             echo "        ";
  114.             $context["icon"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  115.             // line 29
  116.             echo "
  117.         ";
  118.             // line 30
  119.             ob_start();
  120.             // line 31
  121.             echo "            <div class=\"sf-toolbar-info-piece\">
  122.                 <b>Database Queries</b>
  123.                 <span class=\"sf-toolbar-status ";
  124.             // line 33
  125.             echo (((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.'33$this->source); })()), "querycount", [], "any"falsefalsefalse33) > 50)) ? ("sf-toolbar-status-yellow") : (""));
  126.             echo "\">";
  127.             echo twig_escape_filter($this->envtwig_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.'33$this->source); })()), "querycount", [], "any"falsefalsefalse33), "html"nulltrue);
  128.             echo "</span>
  129.             </div>
  130.             <div class=\"sf-toolbar-info-piece\">
  131.                 <b>Different statements</b>
  132.                 <span class=\"sf-toolbar-status\">";
  133.             // line 37
  134.             echo twig_escape_filter($this->envtwig_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.'37$this->source); })()), "groupedQueryCount", [], "any"falsefalsefalse37), "html"nulltrue);
  135.             echo "</span>
  136.             </div>
  137.             <div class=\"sf-toolbar-info-piece\">
  138.                 <b>Query time</b>
  139.                 <span>";
  140.             // line 41
  141.             echo twig_escape_filter($this->envtwig_sprintf("%0.2f", (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.'41$this->source); })()), "time", [], "any"falsefalsefalse41) * 1000)), "html"nulltrue);
  142.             echo " ms</span>
  143.             </div>
  144.             <div class=\"sf-toolbar-info-piece\">
  145.                 <b>Invalid entities</b>
  146.                 <span class=\"sf-toolbar-status ";
  147.             // line 45
  148.             echo (((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.'45$this->source); })()), "invalidEntityCount", [], "any"falsefalsefalse45) > 0)) ? ("sf-toolbar-status-red") : (""));
  149.             echo "\">";
  150.             echo twig_escape_filter($this->envtwig_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.'45$this->source); })()), "invalidEntityCount", [], "any"falsefalsefalse45), "html"nulltrue);
  151.             echo "</span>
  152.             </div>
  153.             ";
  154.             // line 47
  155.             if (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.'47$this->source); })()), "cacheEnabled", [], "any"falsefalsefalse47)) {
  156.                 // line 48
  157.                 echo "                <div class=\"sf-toolbar-info-piece\">
  158.                     <b>Cache hits</b>
  159.                     <span class=\"sf-toolbar-status sf-toolbar-status-green\">";
  160.                 // line 50
  161.                 echo twig_escape_filter($this->envtwig_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.'50$this->source); })()), "cacheHitsCount", [], "any"falsefalsefalse50), "html"nulltrue);
  162.                 echo "</span>
  163.                 </div>
  164.                 <div class=\"sf-toolbar-info-piece\">
  165.                     <b>Cache misses</b>
  166.                     <span class=\"sf-toolbar-status ";
  167.                 // line 54
  168.                 echo (((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.'54$this->source); })()), "cacheMissesCount", [], "any"falsefalsefalse54) > 0)) ? ("sf-toolbar-status-yellow") : (""));
  169.                 echo "\">";
  170.                 echo twig_escape_filter($this->envtwig_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.'54$this->source); })()), "cacheMissesCount", [], "any"falsefalsefalse54), "html"nulltrue);
  171.                 echo "</span>
  172.                 </div>
  173.                 <div class=\"sf-toolbar-info-piece\">
  174.                     <b>Cache puts</b>
  175.                     <span class=\"sf-toolbar-status ";
  176.                 // line 58
  177.                 echo (((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.'58$this->source); })()), "cachePutsCount", [], "any"falsefalsefalse58) > 0)) ? ("sf-toolbar-status-yellow") : (""));
  178.                 echo "\">";
  179.                 echo twig_escape_filter($this->envtwig_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.'58$this->source); })()), "cachePutsCount", [], "any"falsefalsefalse58), "html"nulltrue);
  180.                 echo "</span>
  181.                 </div>
  182.             ";
  183.             } else {
  184.                 // line 61
  185.                 echo "                <div class=\"sf-toolbar-info-piece\">
  186.                     <b>Second Level Cache</b>
  187.                     <span class=\"sf-toolbar-status\">disabled</span>
  188.                 </div>
  189.             ";
  190.             }
  191.             // line 66
  192.             echo "        ";
  193.             $context["text"] = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  194.             // line 67
  195.             echo "
  196.         ";
  197.             // line 68
  198.             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.'68$this->source); })()), "status" => ((array_key_exists("status"$context)) ? (_twig_default_filter((isset($context["status"]) || array_key_exists("status"$context) ? $context["status"] : (function () { throw new RuntimeError('Variable "status" does not exist.'68$this->source); })()), "")) : (""))]);
  199.             echo "
  200.     ";
  201.         }
  202.         
  203.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  204.         
  205.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  206.     }
  207.     // line 73
  208.     public function block_menu($context, array $blocks = [])
  209.     {
  210.         $macros $this->macros;
  211.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  212.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  213.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  214.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  215.         // line 74
  216.         echo "    <span class=\"label ";
  217.         echo (((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.'74$this->source); })()), "invalidEntityCount", [], "any"falsefalsefalse74) > 0)) ? ("label-status-error") : (""));
  218.         echo " ";
  219.         echo (((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.'74$this->source); })()), "querycount", [], "any"falsefalsefalse74) == 0)) ? ("disabled") : (""));
  220.         echo "\">
  221.         <span class=\"icon\">";
  222.         // line 75
  223.         echo twig_include($this->env$context, (("@Doctrine/Collector/" . ((((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.'75$this->source); })()) < 3)) ? ("icon") : ("database"))) . ".svg"));
  224.         echo "</span>
  225.         <strong>Doctrine</strong>
  226.         ";
  227.         // line 77
  228.         if (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.'77$this->source); })()), "invalidEntityCount", [], "any"falsefalsefalse77)) {
  229.             // line 78
  230.             echo "            <span class=\"count\">
  231.                 <span>";
  232.             // line 79
  233.             echo twig_escape_filter($this->envtwig_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.'79$this->source); })()), "invalidEntityCount", [], "any"falsefalsefalse79), "html"nulltrue);
  234.             echo "</span>
  235.             </span>
  236.         ";
  237.         }
  238.         // line 82
  239.         echo "    </span>
  240. ";
  241.         
  242.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  243.         
  244.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  245.     }
  246.     // line 85
  247.     public function block_panel($context, array $blocks = [])
  248.     {
  249.         $macros $this->macros;
  250.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  251.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  252.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  253.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  254.         // line 86
  255.         echo "    ";
  256.         if (("explain" == (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'86$this->source); })()))) {
  257.             // line 87
  258.             echo "        ";
  259.             echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("Doctrine\\Bundle\\DoctrineBundle\\Controller\\ProfilerController::explainAction", ["token" =>             // line 88
  260. (isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'88$this->source); })()), "panel" => "db""connectionName" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 90
  261. (isset($context["request"]) || array_key_exists("request"$context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.'90$this->source); })()), "query", [], "any"falsefalsefalse90), "get", ["connection"], "method"falsefalsefalse90), "query" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 91
  262. (isset($context["request"]) || array_key_exists("request"$context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.'91$this->source); })()), "query", [], "any"falsefalsefalse91), "get", ["query"], "method"falsefalsefalse91)]));
  263.             // line 92
  264.             echo "
  265.     ";
  266.         } else {
  267.             // line 94
  268.             echo "        ";
  269.             $this->displayBlock("queries"$context$blocks);
  270.             echo "
  271.     ";
  272.         }
  273.         
  274.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  275.         
  276.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  277.     }
  278.     // line 98
  279.     public function block_queries($context, array $blocks = [])
  280.     {
  281.         $macros $this->macros;
  282.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  283.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""queries"));
  284.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  285.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""queries"));
  286.         // line 99
  287.         echo "    <style>
  288.         .time-container { position: relative; }
  289.         .time-container .nowrap { position: relative; z-index: 1; text-shadow: 0 0 2px #fff; }
  290.         .time-bar { display: block; position: absolute; top: 0; left: 0; bottom: 0; background: #e0e0e0; }
  291.         .sql-runnable.sf-toggle-content.sf-toggle-visible { display: flex; flex-direction: column; }
  292.         .sql-runnable button { align-self: end; }
  293.         ";
  294.         // line 105
  295.         if (((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.'105$this->source); })()) >= 3)) {
  296.             // line 106
  297.             echo "        .highlight .keyword   { color: var(--highlight-keyword); font-weight: bold; }
  298.         .highlight .word      { color: var(--color-text); }
  299.         .highlight .variable  { color: var(--highlight-variable); }
  300.         .highlight .symbol    { color: var(--color-text); }
  301.         .highlight .comment   { color: var(--highlight-comment); }
  302.         .highlight .string    { color: var(--highlight-string); }
  303.         .highlight .number    { color: var(--highlight-constant); font-weight: bold; }
  304.         .highlight .error     { color: var(--highlight-error); }
  305.         ";
  306.         }
  307.         // line 115
  308.         echo "    </style>
  309.     <h2>Query Metrics</h2>
  310.     <div class=\"metrics\">
  311.         <div class=\"metric-group\">
  312.             <div class=\"metric\">
  313.                 <span class=\"value\">";
  314.         // line 122
  315.         echo twig_escape_filter($this->envtwig_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.'122$this->source); })()), "querycount", [], "any"falsefalsefalse122), "html"nulltrue);
  316.         echo "</span>
  317.                 <span class=\"label\">Database Queries</span>
  318.             </div>
  319.             <div class=\"metric\">
  320.                 <span class=\"value\">";
  321.         // line 127
  322.         echo twig_escape_filter($this->envtwig_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.'127$this->source); })()), "groupedQueryCount", [], "any"falsefalsefalse127), "html"nulltrue);
  323.         echo "</span>
  324.                 <span class=\"label\">Different statements</span>
  325.             </div>
  326.             <div class=\"metric\">
  327.                 <span class=\"value\">";
  328.         // line 132
  329.         echo twig_escape_filter($this->envtwig_sprintf("%0.2f", (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.'132$this->source); })()), "time", [], "any"falsefalsefalse132) * 1000)), "html"nulltrue);
  330.         echo " ms</span>
  331.                 <span class=\"label\">Query time</span>
  332.             </div>
  333.             <div class=\"metric\">
  334.                 <span class=\"value\">";
  335.         // line 137
  336.         echo twig_escape_filter($this->envtwig_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.'137$this->source); })()), "invalidEntityCount", [], "any"falsefalsefalse137), "html"nulltrue);
  337.         echo "</span>
  338.                 <span class=\"label\">Invalid entities</span>
  339.             </div>
  340.         </div>
  341.         ";
  342.         // line 142
  343.         if (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.'142$this->source); })()), "cacheEnabled", [], "any"falsefalsefalse142)) {
  344.             // line 143
  345.             echo "            <div class=\"metric-group\">
  346.                 <div class=\"metric\">
  347.                     <span class=\"value\">";
  348.             // line 145
  349.             echo twig_escape_filter($this->envtwig_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.'145$this->source); })()), "cacheHitsCount", [], "any"falsefalsefalse145), "html"nulltrue);
  350.             echo "</span>
  351.                     <span class=\"label\">Cache hits</span>
  352.                 </div>
  353.                 <div class=\"metric\">
  354.                     <span class=\"value\">";
  355.             // line 149
  356.             echo twig_escape_filter($this->envtwig_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.'149$this->source); })()), "cacheMissesCount", [], "any"falsefalsefalse149), "html"nulltrue);
  357.             echo "</span>
  358.                     <span class=\"label\">Cache misses</span>
  359.                 </div>
  360.                 <div class=\"metric\">
  361.                     <span class=\"value\">";
  362.             // line 153
  363.             echo twig_escape_filter($this->envtwig_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.'153$this->source); })()), "cachePutsCount", [], "any"falsefalsefalse153), "html"nulltrue);
  364.             echo "</span>
  365.                     <span class=\"label\">Cache puts</span>
  366.                 </div>
  367.             </div>
  368.         ";
  369.         }
  370.         // line 158
  371.         echo "    </div>
  372.     <div class=\"sf-tabs\" style=\"margin-top: 20px;\">
  373.         <div class=\"tab ";
  374.         // line 161
  375.         echo ((twig_test_empty(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.'161$this->source); })()), "queries", [], "any"falsefalsefalse161))) ? ("disabled") : (""));
  376.         echo "\">
  377.             ";
  378.         // line 162
  379.         $context["group_queries"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["request"]) || array_key_exists("request"$context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.'162$this->source); })()), "query", [], "any"falsefalsefalse162), "getBoolean", ["group"], "method"falsefalsefalse162);
  380.         // line 163
  381.         echo "            <h3 class=\"tab-title\">
  382.                 ";
  383.         // line 164
  384.         if ((isset($context["group_queries"]) || array_key_exists("group_queries"$context) ? $context["group_queries"] : (function () { throw new RuntimeError('Variable "group_queries" does not exist.'164$this->source); })())) {
  385.             // line 165
  386.             echo "                    Grouped Statements
  387.                 ";
  388.         } else {
  389.             // line 167
  390.             echo "                    Queries
  391.                 ";
  392.         }
  393.         // line 169
  394.         echo "            </h3>
  395.             <div class=\"tab-content\">
  396.                 ";
  397.         // line 172
  398.         if ( !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.'172$this->source); })()), "queries", [], "any"falsefalsefalse172)) {
  399.             // line 173
  400.             echo "                    <div class=\"empty\">
  401.                         <p>No executed queries.</p>
  402.                     </div>
  403.                 ";
  404.         } else {
  405.             // line 177
  406.             echo "                    ";
  407.             if ((isset($context["group_queries"]) || array_key_exists("group_queries"$context) ? $context["group_queries"] : (function () { throw new RuntimeError('Variable "group_queries" does not exist.'177$this->source); })())) {
  408.                 // line 178
  409.                 echo "                        <p><a href=\"";
  410.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["panel" => "db""token" => (isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'178$this->source); })())]), "html"nulltrue);
  411.                 echo "\">Show all queries</a></p>
  412.                     ";
  413.             } else {
  414.                 // line 180
  415.                 echo "                        <p><a href=\"";
  416.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["panel" => "db""token" => (isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'180$this->source); })()), "group" => true]), "html"nulltrue);
  417.                 echo "\">Group similar statements</a></p>
  418.                     ";
  419.             }
  420.             // line 182
  421.             echo "
  422.                     ";
  423.             // line 183
  424.             $context['_parent'] = $context;
  425.             $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.'183$this->source); })()), "queries", [], "any"falsefalsefalse183));
  426.             $context['loop'] = [
  427.               'parent' => $context['_parent'],
  428.               'index0' => 0,
  429.               'index'  => 1,
  430.               'first'  => true,
  431.             ];
  432.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  433.                 $length count($context['_seq']);
  434.                 $context['loop']['revindex0'] = $length 1;
  435.                 $context['loop']['revindex'] = $length;
  436.                 $context['loop']['length'] = $length;
  437.                 $context['loop']['last'] = === $length;
  438.             }
  439.             foreach ($context['_seq'] as $context["connection"] => $context["queries"]) {
  440.                 // line 184
  441.                 echo "                        ";
  442.                 if ((twig_length_filter($this->envtwig_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.'184$this->source); })()), "connections", [], "any"falsefalsefalse184)) > 1)) {
  443.                     // line 185
  444.                     echo "                            <h3>";
  445.                     echo twig_escape_filter($this->env$context["connection"], "html"nulltrue);
  446.                     echo " <small>connection</small></h3>
  447.                         ";
  448.                 }
  449.                 // line 187
  450.                 echo "
  451.                         ";
  452.                 // line 188
  453.                 if (twig_test_empty($context["queries"])) {
  454.                     // line 189
  455.                     echo "                            <div class=\"empty\">
  456.                                 <p>No database queries were performed.</p>
  457.                             </div>
  458.                         ";
  459.                 } else {
  460.                     // line 193
  461.                     echo "                            ";
  462.                     if ((isset($context["group_queries"]) || array_key_exists("group_queries"$context) ? $context["group_queries"] : (function () { throw new RuntimeError('Variable "group_queries" does not exist.'193$this->source); })())) {
  463.                         // line 194
  464.                         echo "                                ";
  465.                         $context["queries"] = 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.'194$this->source); })()), "groupedQueries", [], "any"falsefalsefalse194), $context["connection"], [], "array"falsefalsefalse194);
  466.                         // line 195
  467.                         echo "                            ";
  468.                     }
  469.                     // line 196
  470.                     echo "                            <table class=\"alt queries-table\">
  471.                                 <thead>
  472.                                 <tr>
  473.                                     ";
  474.                     // line 199
  475.                     if ((isset($context["group_queries"]) || array_key_exists("group_queries"$context) ? $context["group_queries"] : (function () { throw new RuntimeError('Variable "group_queries" does not exist.'199$this->source); })())) {
  476.                         // line 200
  477.                         echo "                                        <th class=\"nowrap\" onclick=\"javascript:sortTable(this, 0, 'queries-";
  478.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse200), "html"nulltrue);
  479.                         echo "')\" data-sort-direction=\"1\" style=\"cursor: pointer;\">Time<span class=\"text-muted\">&#9660;</span></th>
  480.                                         <th class=\"nowrap\" onclick=\"javascript:sortTable(this, 1, 'queries-";
  481.                         // line 201
  482.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse201), "html"nulltrue);
  483.                         echo "')\" style=\"cursor: pointer;\">Count<span></span></th>
  484.                                     ";
  485.                     } else {
  486.                         // line 203
  487.                         echo "                                        <th class=\"nowrap\" onclick=\"javascript:sortTable(this, 0, 'queries-";
  488.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse203), "html"nulltrue);
  489.                         echo "')\" data-sort-direction=\"-1\" style=\"cursor: pointer;\">#<span class=\"text-muted\">&#9650;</span></th>
  490.                                         <th class=\"nowrap\" onclick=\"javascript:sortTable(this, 1, 'queries-";
  491.                         // line 204
  492.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse204), "html"nulltrue);
  493.                         echo "')\" style=\"cursor: pointer;\">Time<span></span></th>
  494.                                     ";
  495.                     }
  496.                     // line 206
  497.                     echo "                                    <th style=\"width: 100%;\">Info</th>
  498.                                 </tr>
  499.                                 </thead>
  500.                                 <tbody id=\"queries-";
  501.                     // line 209
  502.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse209), "html"nulltrue);
  503.                     echo "\">
  504.                                 ";
  505.                     // line 210
  506.                     $context['_parent'] = $context;
  507.                     $context['_seq'] = twig_ensure_traversable($context["queries"]);
  508.                     $context['loop'] = [
  509.                       'parent' => $context['_parent'],
  510.                       'index0' => 0,
  511.                       'index'  => 1,
  512.                       'first'  => true,
  513.                     ];
  514.                     if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  515.                         $length count($context['_seq']);
  516.                         $context['loop']['revindex0'] = $length 1;
  517.                         $context['loop']['revindex'] = $length;
  518.                         $context['loop']['length'] = $length;
  519.                         $context['loop']['last'] = === $length;
  520.                     }
  521.                     foreach ($context['_seq'] as $context["i"] => $context["query"]) {
  522.                         // line 211
  523.                         echo "                                    ";
  524.                         $context["i"] = (((isset($context["group_queries"]) || array_key_exists("group_queries"$context) ? $context["group_queries"] : (function () { throw new RuntimeError('Variable "group_queries" does not exist.'211$this->source); })())) ? (twig_get_attribute($this->env$this->source$context["query"], "index", [], "any"falsefalsefalse211)) : ($context["i"]));
  525.                         // line 212
  526.                         echo "                                    <tr id=\"queryNo-";
  527.                         echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  528.                         echo "-";
  529.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["loop"], "parent", [], "any"falsefalsefalse212), "loop", [], "any"falsefalsefalse212), "index", [], "any"falsefalsefalse212), "html"nulltrue);
  530.                         echo "\">
  531.                                         ";
  532.                         // line 213
  533.                         if ((isset($context["group_queries"]) || array_key_exists("group_queries"$context) ? $context["group_queries"] : (function () { throw new RuntimeError('Variable "group_queries" does not exist.'213$this->source); })())) {
  534.                             // line 214
  535.                             echo "                                            <td class=\"time-container\">
  536.                                                 <span class=\"time-bar\" style=\"width:";
  537.                             // line 215
  538.                             echo twig_escape_filter($this->envtwig_sprintf("%0.2f"twig_get_attribute($this->env$this->source$context["query"], "executionPercent", [], "any"falsefalsefalse215)), "html"nulltrue);
  539.                             echo "%\"></span>
  540.                                                 <span class=\"nowrap\">";
  541.                             // line 216
  542.                             echo twig_escape_filter($this->envtwig_sprintf("%0.2f", (twig_get_attribute($this->env$this->source$context["query"], "executionMS", [], "any"falsefalsefalse216) * 1000)), "html"nulltrue);
  543.                             echo "&nbsp;ms<br />(";
  544.                             echo twig_escape_filter($this->envtwig_sprintf("%0.2f"twig_get_attribute($this->env$this->source$context["query"], "executionPercent", [], "any"falsefalsefalse216)), "html"nulltrue);
  545.                             echo "%)</span>
  546.                                             </td>
  547.                                             <td class=\"nowrap\">";
  548.                             // line 218
  549.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["query"], "count", [], "any"falsefalsefalse218), "html"nulltrue);
  550.                             echo "</td>
  551.                                         ";
  552.                         } else {
  553.                             // line 220
  554.                             echo "                                            <td class=\"nowrap\">";
  555.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse220), "html"nulltrue);
  556.                             echo "</td>
  557.                                             <td class=\"nowrap\">";
  558.                             // line 221
  559.                             echo twig_escape_filter($this->envtwig_sprintf("%0.2f", (twig_get_attribute($this->env$this->source$context["query"], "executionMS", [], "any"falsefalsefalse221) * 1000)), "html"nulltrue);
  560.                             echo "&nbsp;ms</td>
  561.                                         ";
  562.                         }
  563.                         // line 223
  564.                         echo "                                        <td>
  565.                                             ";
  566.                         // line 224
  567.                         echo $this->extensions['Doctrine\Bundle\DoctrineBundle\Twig\DoctrineExtension']->prettifySql(twig_get_attribute($this->env$this->source$context["query"], "sql", [], "any"falsefalsefalse224));
  568.                         echo "
  569.                                             <div>
  570.                                                 <strong class=\"font-normal text-small\">Parameters</strong>: ";
  571.                         // line 227
  572.                         echo $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpData($this->envtwig_get_attribute($this->env$this->source$context["query"], "params", [], "any"falsefalsefalse227), 2);
  573.                         echo "
  574.                                             </div>
  575.                                             <div class=\"text-small font-normal\">
  576.                                                 <a href=\"#\" class=\"sf-toggle link-inverse\" data-toggle-selector=\"#formatted-query-";
  577.                         // line 231
  578.                         echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  579.                         echo "-";
  580.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["loop"], "parent", [], "any"falsefalsefalse231), "loop", [], "any"falsefalsefalse231), "index", [], "any"falsefalsefalse231), "html"nulltrue);
  581.                         echo "\" data-toggle-alt-content=\"Hide formatted query\">View formatted query</a>
  582.                                                 ";
  583.                         // line 233
  584.                         if (twig_get_attribute($this->env$this->source$context["query"], "runnable", [], "any"falsefalsefalse233)) {
  585.                             // line 234
  586.                             echo "                                                    &nbsp;&nbsp;
  587.                                                     <a href=\"#\" class=\"sf-toggle link-inverse\" data-toggle-selector=\"#original-query-";
  588.                             // line 235
  589.                             echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  590.                             echo "-";
  591.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["loop"], "parent", [], "any"falsefalsefalse235), "loop", [], "any"falsefalsefalse235), "index", [], "any"falsefalsefalse235), "html"nulltrue);
  592.                             echo "\" data-toggle-alt-content=\"Hide runnable query\">View runnable query</a>
  593.                                                 ";
  594.                         }
  595.                         // line 237
  596.                         echo "
  597.                                                 ";
  598.                         // line 238
  599.                         if (twig_get_attribute($this->env$this->source$context["query"], "explainable", [], "any"falsefalsefalse238)) {
  600.                             // line 239
  601.                             echo "                                                    &nbsp;&nbsp;
  602.                                                     <a class=\"link-inverse\" href=\"";
  603.                             // line 240
  604.                             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["panel" => "db""token" => (isset($context["token"]) || array_key_exists("token"$context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.'240$this->source); })()), "page" => "explain""connection" => $context["connection"], "query" => $context["i"]]), "html"nulltrue);
  605.                             echo "\" onclick=\"return explain(this);\" data-target-id=\"explain-";
  606.                             echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  607.                             echo "-";
  608.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["loop"], "parent", [], "any"falsefalsefalse240), "loop", [], "any"falsefalsefalse240), "index", [], "any"falsefalsefalse240), "html"nulltrue);
  609.                             echo "\">Explain query</a>
  610.                                                 ";
  611.                         }
  612.                         // line 242
  613.                         echo "
  614.                                                 ";
  615.                         // line 243
  616.                         if (twig_get_attribute($this->env$this->source$context["query"], "backtrace", [], "any"truetruefalse243)) {
  617.                             // line 244
  618.                             echo "                                                    &nbsp;&nbsp;
  619.                                                     <a href=\"#\" class=\"sf-toggle link-inverse\" data-toggle-selector=\"#backtrace-";
  620.                             // line 245
  621.                             echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  622.                             echo "-";
  623.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["loop"], "parent", [], "any"falsefalsefalse245), "loop", [], "any"falsefalsefalse245), "index", [], "any"falsefalsefalse245), "html"nulltrue);
  624.                             echo "\" data-toggle-alt-content=\"Hide query backtrace\">View query backtrace</a>
  625.                                                 ";
  626.                         }
  627.                         // line 247
  628.                         echo "                                            </div>
  629.                                             <div id=\"formatted-query-";
  630.                         // line 249
  631.                         echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  632.                         echo "-";
  633.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["loop"], "parent", [], "any"falsefalsefalse249), "loop", [], "any"falsefalsefalse249), "index", [], "any"falsefalsefalse249), "html"nulltrue);
  634.                         echo "\" class=\"sql-runnable hidden\">
  635.                                                 ";
  636.                         // line 250
  637.                         echo $this->extensions['Doctrine\Bundle\DoctrineBundle\Twig\DoctrineExtension']->formatSql(twig_get_attribute($this->env$this->source$context["query"], "sql", [], "any"falsefalsefalse250), true);
  638.                         echo "
  639.                                                 <button class=\"btn btn-sm hidden\" data-clipboard-text=\"";
  640.                         // line 251
  641.                         echo twig_escape_filter($this->env$this->extensions['Doctrine\Bundle\DoctrineBundle\Twig\DoctrineExtension']->formatSql(twig_get_attribute($this->env$this->source$context["query"], "sql", [], "any"falsefalsefalse251), false), "html_attr");
  642.                         echo "\">Copy</button>
  643.                                             </div>
  644.                                             ";
  645.                         // line 254
  646.                         if (twig_get_attribute($this->env$this->source$context["query"], "runnable", [], "any"falsefalsefalse254)) {
  647.                             // line 255
  648.                             echo "                                                <div id=\"original-query-";
  649.                             echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  650.                             echo "-";
  651.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["loop"], "parent", [], "any"falsefalsefalse255), "loop", [], "any"falsefalsefalse255), "index", [], "any"falsefalsefalse255), "html"nulltrue);
  652.                             echo "\" class=\"sql-runnable hidden\">
  653.                                                     ";
  654.                             // line 256
  655.                             $context["runnable_sql"] = $this->extensions['Doctrine\Bundle\DoctrineBundle\Twig\DoctrineExtension']->replaceQueryParameters((twig_get_attribute($this->env$this->source$context["query"], "sql", [], "any"falsefalsefalse256) . ";"), twig_get_attribute($this->env$this->source$context["query"], "params", [], "any"falsefalsefalse256));
  656.                             // line 257
  657.                             echo "                                                    ";
  658.                             echo $this->extensions['Doctrine\Bundle\DoctrineBundle\Twig\DoctrineExtension']->prettifySql((isset($context["runnable_sql"]) || array_key_exists("runnable_sql"$context) ? $context["runnable_sql"] : (function () { throw new RuntimeError('Variable "runnable_sql" does not exist.'257$this->source); })()));
  659.                             echo "
  660.                                                     <button class=\"btn btn-sm hidden\" data-clipboard-text=\"";
  661.                             // line 258
  662.                             echo twig_escape_filter($this->env, (isset($context["runnable_sql"]) || array_key_exists("runnable_sql"$context) ? $context["runnable_sql"] : (function () { throw new RuntimeError('Variable "runnable_sql" does not exist.'258$this->source); })()), "html_attr");
  663.                             echo "\">Copy</button>
  664.                                                 </div>
  665.                                             ";
  666.                         }
  667.                         // line 261
  668.                         echo "
  669.                                             ";
  670.                         // line 262
  671.                         if (twig_get_attribute($this->env$this->source$context["query"], "explainable", [], "any"falsefalsefalse262)) {
  672.                             // line 263
  673.                             echo "                                                <div id=\"explain-";
  674.                             echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  675.                             echo "-";
  676.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["loop"], "parent", [], "any"falsefalsefalse263), "loop", [], "any"falsefalsefalse263), "index", [], "any"falsefalsefalse263), "html"nulltrue);
  677.                             echo "\" class=\"sql-explain\"></div>
  678.                                             ";
  679.                         }
  680.                         // line 265
  681.                         echo "
  682.                                             ";
  683.                         // line 266
  684.                         if (twig_get_attribute($this->env$this->source$context["query"], "backtrace", [], "any"truetruefalse266)) {
  685.                             // line 267
  686.                             echo "                                                <div id=\"backtrace-";
  687.                             echo twig_escape_filter($this->env$context["i"], "html"nulltrue);
  688.                             echo "-";
  689.                             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["loop"], "parent", [], "any"falsefalsefalse267), "loop", [], "any"falsefalsefalse267), "index", [], "any"falsefalsefalse267), "html"nulltrue);
  690.                             echo "\" class=\"hidden\">
  691.                                                     <table>
  692.                                                         <thead>
  693.                                                         <tr>
  694.                                                             <th scope=\"col\">#</th>
  695.                                                             <th scope=\"col\">File/Call</th>
  696.                                                         </tr>
  697.                                                         </thead>
  698.                                                         <tbody>
  699.                                                         ";
  700.                             // line 276
  701.                             $context['_parent'] = $context;
  702.                             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["query"], "backtrace", [], "any"falsefalsefalse276));
  703.                             $context['loop'] = [
  704.                               'parent' => $context['_parent'],
  705.                               'index0' => 0,
  706.                               'index'  => 1,
  707.                               'first'  => true,
  708.                             ];
  709.                             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  710.                                 $length count($context['_seq']);
  711.                                 $context['loop']['revindex0'] = $length 1;
  712.                                 $context['loop']['revindex'] = $length;
  713.                                 $context['loop']['length'] = $length;
  714.                                 $context['loop']['last'] = === $length;
  715.                             }
  716.                             foreach ($context['_seq'] as $context["_key"] => $context["trace"]) {
  717.                                 // line 277
  718.                                 echo "                                                            <tr>
  719.                                                                 <td>";
  720.                                 // line 278
  721.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse278), "html"nulltrue);
  722.                                 echo "</td>
  723.                                                                 <td>
  724.                                                                             <span class=\"text-small\">
  725.                                                                                 ";
  726.                                 // line 281
  727.                                 $context["line_number"] = ((twig_get_attribute($this->env$this->source$context["trace"], "line", [], "any"truetruefalse281)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["trace"], "line", [], "any"falsefalsefalse281), 1)) : (1));
  728.                                 // line 282
  729.                                 echo "                                                                                ";
  730.                                 if (twig_get_attribute($this->env$this->source$context["trace"], "file", [], "any"truetruefalse282)) {
  731.                                     // line 283
  732.                                     echo "                                                                                    <a href=\"";
  733.                                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->getFileLink(twig_get_attribute($this->env$this->source$context["trace"], "file", [], "any"falsefalsefalse283), (isset($context["line_number"]) || array_key_exists("line_number"$context) ? $context["line_number"] : (function () { throw new RuntimeError('Variable "line_number" does not exist.'283$this->source); })())), "html"nulltrue);
  734.                                     echo "\">
  735.                                                                                 ";
  736.                                 }
  737.                                 // line 285
  738.                                 echo twig_escape_filter($this->env, (((twig_get_attribute($this->env$this->source$context["trace"], "class", [], "any"truetruefalse285)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["trace"], "class", [], "any"falsefalsefalse285))) : ("")) . ((twig_get_attribute($this->env$this->source$context["trace"], "class", [], "any"truetruefalse285)) ? (((twig_get_attribute($this->env$this->source$context["trace"], "type", [], "any"truetruefalse285)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["trace"], "type", [], "any"falsefalsefalse285), "::")) : ("::"))) : (""))), "html"nulltrue);
  739.                                 // line 286
  740.                                 echo "<span class=\"status-warning\">";
  741.                                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["trace"], "function", [], "any"falsefalsefalse286), "html"nulltrue);
  742.                                 echo "</span>
  743.                                                                                 ";
  744.                                 // line 287
  745.                                 if (twig_get_attribute($this->env$this->source$context["trace"], "file", [], "any"truetruefalse287)) {
  746.                                     // line 288
  747.                                     echo "                                                                                    </a>
  748.                                                                                 ";
  749.                                 }
  750.                                 // line 290
  751.                                 echo "                                                                                (line ";
  752.                                 echo twig_escape_filter($this->env, (isset($context["line_number"]) || array_key_exists("line_number"$context) ? $context["line_number"] : (function () { throw new RuntimeError('Variable "line_number" does not exist.'290$this->source); })()), "html"nulltrue);
  753.                                 echo ")
  754.                                                                             </span>
  755.                                                                 </td>
  756.                                                             </tr>
  757.                                                         ";
  758.                                 ++$context['loop']['index0'];
  759.                                 ++$context['loop']['index'];
  760.                                 $context['loop']['first'] = false;
  761.                                 if (isset($context['loop']['length'])) {
  762.                                     --$context['loop']['revindex0'];
  763.                                     --$context['loop']['revindex'];
  764.                                     $context['loop']['last'] = === $context['loop']['revindex0'];
  765.                                 }
  766.                             }
  767.                             $_parent $context['_parent'];
  768.                             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['trace'], $context['_parent'], $context['loop']);
  769.                             $context array_intersect_key($context$_parent) + $_parent;
  770.                             // line 295
  771.                             echo "                                                        </tbody>
  772.                                                     </table>
  773.                                                 </div>
  774.                                             ";
  775.                         }
  776.                         // line 299
  777.                         echo "                                        </td>
  778.                                     </tr>
  779.                                 ";
  780.                         ++$context['loop']['index0'];
  781.                         ++$context['loop']['index'];
  782.                         $context['loop']['first'] = false;
  783.                         if (isset($context['loop']['length'])) {
  784.                             --$context['loop']['revindex0'];
  785.                             --$context['loop']['revindex'];
  786.                             $context['loop']['last'] = === $context['loop']['revindex0'];
  787.                         }
  788.                     }
  789.                     $_parent $context['_parent'];
  790.                     unset($context['_seq'], $context['_iterated'], $context['i'], $context['query'], $context['_parent'], $context['loop']);
  791.                     $context array_intersect_key($context$_parent) + $_parent;
  792.                     // line 302
  793.                     echo "                                </tbody>
  794.                             </table>
  795.                         ";
  796.                 }
  797.                 // line 305
  798.                 echo "                    ";
  799.                 ++$context['loop']['index0'];
  800.                 ++$context['loop']['index'];
  801.                 $context['loop']['first'] = false;
  802.                 if (isset($context['loop']['length'])) {
  803.                     --$context['loop']['revindex0'];
  804.                     --$context['loop']['revindex'];
  805.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  806.                 }
  807.             }
  808.             $_parent $context['_parent'];
  809.             unset($context['_seq'], $context['_iterated'], $context['connection'], $context['queries'], $context['_parent'], $context['loop']);
  810.             $context array_intersect_key($context$_parent) + $_parent;
  811.             // line 306
  812.             echo "                ";
  813.         }
  814.         // line 307
  815.         echo "            </div>
  816.         </div>
  817.         <div class=\"tab ";
  818.         // line 310
  819.         echo ((twig_test_empty(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.'310$this->source); })()), "connections", [], "any"falsefalsefalse310))) ? ("disabled") : (""));
  820.         echo "\">
  821.             <h3 class=\"tab-title\">Database Connections</h3>
  822.             <div class=\"tab-content\">
  823.                 ";
  824.         // line 313
  825.         if ( !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.'313$this->source); })()), "connections", [], "any"falsefalsefalse313)) {
  826.             // line 314
  827.             echo "                    <div class=\"empty\">
  828.                         <p>There are no configured database connections.</p>
  829.                     </div>
  830.                 ";
  831.         } else {
  832.             // line 318
  833.             echo "                    ";
  834.             echo twig_call_macro($macros["helper"], "macro_render_simple_table", ["Name""Service"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.'318$this->source); })()), "connections", [], "any"falsefalsefalse318)], 318$context$this->getSourceContext());
  835.             echo "
  836.                 ";
  837.         }
  838.         // line 320
  839.         echo "            </div>
  840.         </div>
  841.         <div class=\"tab ";
  842.         // line 323
  843.         echo ((twig_test_empty(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.'323$this->source); })()), "managers", [], "any"falsefalsefalse323))) ? ("disabled") : (""));
  844.         echo "\">
  845.             <h3 class=\"tab-title\">Entity Managers</h3>
  846.             <div class=\"tab-content\">
  847.                 ";
  848.         // line 327
  849.         if ( !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.'327$this->source); })()), "managers", [], "any"falsefalsefalse327)) {
  850.             // line 328
  851.             echo "                    <div class=\"empty\">
  852.                         <p>There are no configured entity managers.</p>
  853.                     </div>
  854.                 ";
  855.         } else {
  856.             // line 332
  857.             echo "                    ";
  858.             echo twig_call_macro($macros["helper"], "macro_render_simple_table", ["Name""Service"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.'332$this->source); })()), "managers", [], "any"falsefalsefalse332)], 332$context$this->getSourceContext());
  859.             echo "
  860.                 ";
  861.         }
  862.         // line 334
  863.         echo "            </div>
  864.         </div>
  865.         <div class=\"tab ";
  866.         // line 337
  867.         echo (( !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.'337$this->source); })()), "cacheEnabled", [], "any"falsefalsefalse337)) ? ("disabled") : (""));
  868.         echo "\">
  869.             <h3 class=\"tab-title\">Second Level Cache</h3>
  870.             <div class=\"tab-content\">
  871.                 ";
  872.         // line 341
  873.         if ( !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.'341$this->source); })()), "cacheEnabled", [], "any"falsefalsefalse341)) {
  874.             // line 342
  875.             echo "                    <div class=\"empty\">
  876.                         <p>Second Level Cache is not enabled.</p>
  877.                     </div>
  878.                 ";
  879.         } else {
  880.             // line 346
  881.             echo "                    ";
  882.             if ( !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.'346$this->source); })()), "cacheCounts", [], "any"falsefalsefalse346)) {
  883.                 // line 347
  884.                 echo "                        <div class=\"empty\">
  885.                             <p>Second level cache information is not available.</p>
  886.                         </div>
  887.                     ";
  888.             } else {
  889.                 // line 351
  890.                 echo "                        <div class=\"metrics\">
  891.                             <div class=\"metric\">
  892.                                 <span class=\"value\">";
  893.                 // line 353
  894.                 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.'353$this->source); })()), "cacheCounts", [], "any"falsefalsefalse353), "hits", [], "any"falsefalsefalse353), "html"nulltrue);
  895.                 echo "</span>
  896.                                 <span class=\"label\">Hits</span>
  897.                             </div>
  898.                             <div class=\"metric\">
  899.                                 <span class=\"value\">";
  900.                 // line 358
  901.                 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.'358$this->source); })()), "cacheCounts", [], "any"falsefalsefalse358), "misses", [], "any"falsefalsefalse358), "html"nulltrue);
  902.                 echo "</span>
  903.                                 <span class=\"label\">Misses</span>
  904.                             </div>
  905.                             <div class=\"metric\">
  906.                                 <span class=\"value\">";
  907.                 // line 363
  908.                 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.'363$this->source); })()), "cacheCounts", [], "any"falsefalsefalse363), "puts", [], "any"falsefalsefalse363), "html"nulltrue);
  909.                 echo "</span>
  910.                                 <span class=\"label\">Puts</span>
  911.                             </div>
  912.                         </div>
  913.                         ";
  914.                 // line 368
  915.                 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.'368$this->source); })()), "cacheRegions", [], "any"falsefalsefalse368), "hits", [], "any"falsefalsefalse368)) {
  916.                     // line 369
  917.                     echo "                            <h3>Number of cache hits</h3>
  918.                             ";
  919.                     // line 370
  920.                     echo twig_call_macro($macros["helper"], "macro_render_simple_table", ["Region""Hits"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.'370$this->source); })()), "cacheRegions", [], "any"falsefalsefalse370), "hits", [], "any"falsefalsefalse370)], 370$context$this->getSourceContext());
  921.                     echo "
  922.                         ";
  923.                 }
  924.                 // line 372
  925.                 echo "
  926.                         ";
  927.                 // line 373
  928.                 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.'373$this->source); })()), "cacheRegions", [], "any"falsefalsefalse373), "misses", [], "any"falsefalsefalse373)) {
  929.                     // line 374
  930.                     echo "                            <h3>Number of cache misses</h3>
  931.                             ";
  932.                     // line 375
  933.                     echo twig_call_macro($macros["helper"], "macro_render_simple_table", ["Region""Misses"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.'375$this->source); })()), "cacheRegions", [], "any"falsefalsefalse375), "misses", [], "any"falsefalsefalse375)], 375$context$this->getSourceContext());
  934.                     echo "
  935.                         ";
  936.                 }
  937.                 // line 377
  938.                 echo "
  939.                         ";
  940.                 // line 378
  941.                 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.'378$this->source); })()), "cacheRegions", [], "any"falsefalsefalse378), "puts", [], "any"falsefalsefalse378)) {
  942.                     // line 379
  943.                     echo "                            <h3>Number of cache puts</h3>
  944.                             ";
  945.                     // line 380
  946.                     echo twig_call_macro($macros["helper"], "macro_render_simple_table", ["Region""Puts"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.'380$this->source); })()), "cacheRegions", [], "any"falsefalsefalse380), "puts", [], "any"falsefalsefalse380)], 380$context$this->getSourceContext());
  947.                     echo "
  948.                         ";
  949.                 }
  950.                 // line 382
  951.                 echo "                    ";
  952.             }
  953.             // line 383
  954.             echo "                ";
  955.         }
  956.         // line 384
  957.         echo "            </div>
  958.         </div>
  959.         <div class=\"tab ";
  960.         // line 387
  961.         echo (( !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.'387$this->source); })()), "entities", [], "any"falsefalsefalse387)) ? ("disabled") : (""));
  962.         echo "\">
  963.             <h3 class=\"tab-title\">Entities Mapping</h3>
  964.             <div class=\"tab-content\">
  965.                 ";
  966.         // line 391
  967.         if ( !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.'391$this->source); })()), "entities", [], "any"falsefalsefalse391)) {
  968.             // line 392
  969.             echo "                    <div class=\"empty\">
  970.                         <p>No mapped entities.</p>
  971.                     </div>
  972.                 ";
  973.         } else {
  974.             // line 396
  975.             echo "                    ";
  976.             $context['_parent'] = $context;
  977.             $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.'396$this->source); })()), "entities", [], "any"falsefalsefalse396));
  978.             foreach ($context['_seq'] as $context["manager"] => $context["classes"]) {
  979.                 // line 397
  980.                 echo "                        ";
  981.                 if ((twig_length_filter($this->envtwig_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.'397$this->source); })()), "managers", [], "any"falsefalsefalse397)) > 1)) {
  982.                     // line 398
  983.                     echo "                            <h3>";
  984.                     echo twig_escape_filter($this->env$context["manager"], "html"nulltrue);
  985.                     echo " <small>entity manager</small></h3>
  986.                         ";
  987.                 }
  988.                 // line 400
  989.                 echo "
  990.                         ";
  991.                 // line 401
  992.                 if (twig_test_empty($context["classes"])) {
  993.                     // line 402
  994.                     echo "                            <div class=\"empty\">
  995.                                 <p>No loaded entities.</p>
  996.                             </div>
  997.                         ";
  998.                 } else {
  999.                     // line 406
  1000.                     echo "                            <table>
  1001.                                 <thead>
  1002.                                 <tr>
  1003.                                     <th scope=\"col\">Class</th>
  1004.                                     <th scope=\"col\">Mapping errors</th>
  1005.                                 </tr>
  1006.                                 </thead>
  1007.                                 <tbody>
  1008.                                 ";
  1009.                     // line 414
  1010.                     $context['_parent'] = $context;
  1011.                     $context['_seq'] = twig_ensure_traversable($context["classes"]);
  1012.                     foreach ($context['_seq'] as $context["_key"] => $context["class"]) {
  1013.                         // line 415
  1014.                         echo "                                    ";
  1015.                         $context["contains_errors"] = (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "mappingErrors", [], "any"falsetruefalse415), $context["manager"], [], "array"truetruefalse415) && twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["collector"] ?? null), "mappingErrors", [], "any"falsetruefalse415), $context["manager"], [], "array"falsetruefalse415), twig_get_attribute($this->env$this->source$context["class"], "class", [], "any"falsefalsefalse415), [], "array"truetruefalse415));
  1016.                         // line 416
  1017.                         echo "                                    <tr class=\"";
  1018.                         echo (((isset($context["contains_errors"]) || array_key_exists("contains_errors"$context) ? $context["contains_errors"] : (function () { throw new RuntimeError('Variable "contains_errors" does not exist.'416$this->source); })())) ? ("status-error") : (""));
  1019.                         echo "\">
  1020.                                         <td>
  1021.                                 <a href=\"";
  1022.                         // line 418
  1023.                         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->getFileLink(twig_get_attribute($this->env$this->source$context["class"], "file", [], "any"falsefalsefalse418), twig_get_attribute($this->env$this->source$context["class"], "line", [], "any"falsefalsefalse418)), "html"nulltrue);
  1024.                         echo "\">";
  1025.                         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["class"], "class", [], "any"falsefalsefalse418), "html"nulltrue);
  1026.                         echo "</a>
  1027.                             </td>
  1028.                                         <td class=\"font-normal\">
  1029.                                             ";
  1030.                         // line 421
  1031.                         if ((isset($context["contains_errors"]) || array_key_exists("contains_errors"$context) ? $context["contains_errors"] : (function () { throw new RuntimeError('Variable "contains_errors" does not exist.'421$this->source); })())) {
  1032.                             // line 422
  1033.                             echo "                                                <ul>
  1034.                                                     ";
  1035.                             // line 423
  1036.                             $context['_parent'] = $context;
  1037.                             $context['_seq'] = twig_ensure_traversable(twig_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.'423$this->source); })()), "mappingErrors", [], "any"falsefalsefalse423), $context["manager"], [], "array"falsefalsefalse423), twig_get_attribute($this->env$this->source$context["class"], "class", [], "any"falsefalsefalse423), [], "array"falsefalsefalse423));
  1038.                             foreach ($context['_seq'] as $context["_key"] => $context["error"]) {
  1039.                                 // line 424
  1040.                                 echo "                                                        <li>";
  1041.                                 echo twig_escape_filter($this->env$context["error"], "html"nulltrue);
  1042.                                 echo "</li>
  1043.                                                     ";
  1044.                             }
  1045.                             $_parent $context['_parent'];
  1046.                             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']);
  1047.                             $context array_intersect_key($context$_parent) + $_parent;
  1048.                             // line 426
  1049.                             echo "                                                </ul>
  1050.                                             ";
  1051.                         } else {
  1052.                             // line 428
  1053.                             echo "                                                No errors.
  1054.                                             ";
  1055.                         }
  1056.                         // line 430
  1057.                         echo "                                        </td>
  1058.                                     </tr>
  1059.                                 ";
  1060.                     }
  1061.                     $_parent $context['_parent'];
  1062.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['class'], $context['_parent'], $context['loop']);
  1063.                     $context array_intersect_key($context$_parent) + $_parent;
  1064.                     // line 433
  1065.                     echo "                                </tbody>
  1066.                             </table>
  1067.                         ";
  1068.                 }
  1069.                 // line 436
  1070.                 echo "                    ";
  1071.             }
  1072.             $_parent $context['_parent'];
  1073.             unset($context['_seq'], $context['_iterated'], $context['manager'], $context['classes'], $context['_parent'], $context['loop']);
  1074.             $context array_intersect_key($context$_parent) + $_parent;
  1075.             // line 437
  1076.             echo "                ";
  1077.         }
  1078.         // line 438
  1079.         echo "            </div>
  1080.         </div>
  1081.     </div>
  1082.     <script type=\"text/javascript\">//<![CDATA[
  1083.         function explain(link) {
  1084.             \"use strict\";
  1085.             var targetId = link.getAttribute('data-target-id');
  1086.             var targetElement = document.getElementById(targetId);
  1087.             if (targetElement.style.display != 'block') {
  1088.                 Sfjs.load(targetId, link.href, null, function(xhr, el) {
  1089.                     el.innerHTML = 'An error occurred while loading the query explanation.';
  1090.                 });
  1091.                 targetElement.style.display = 'block';
  1092.                 link.innerHTML = 'Hide query explanation';
  1093.             } else {
  1094.                 targetElement.style.display = 'none';
  1095.                 link.innerHTML = 'Explain query';
  1096.             }
  1097.             return false;
  1098.         }
  1099.         function sortTable(header, column, targetId) {
  1100.             \"use strict\";
  1101.             var direction = parseInt(header.getAttribute('data-sort-direction')) || 1,
  1102.                 items = [],
  1103.                 target = document.getElementById(targetId),
  1104.                 rows = target.children,
  1105.                 headers = header.parentElement.children,
  1106.                 i;
  1107.             for (i = 0; i < rows.length; ++i) {
  1108.                 items.push(rows[i]);
  1109.             }
  1110.             for (i = 0; i < headers.length; ++i) {
  1111.                 headers[i].removeAttribute('data-sort-direction');
  1112.                 if (headers[i].children.length > 0) {
  1113.                     headers[i].children[0].innerHTML = '';
  1114.                 }
  1115.             }
  1116.             header.setAttribute('data-sort-direction', (-1*direction).toString());
  1117.             header.children[0].innerHTML = direction > 0 ? '<span class=\"text-muted\">&#9650;</span>' : '<span class=\"text-muted\">&#9660;</span>';
  1118.             items.sort(function(a, b) {
  1119.                 return direction * (parseFloat(a.children[column].innerHTML) - parseFloat(b.children[column].innerHTML));
  1120.             });
  1121.             for (i = 0; i < items.length; ++i) {
  1122.                 Sfjs.removeClass(items[i], i % 2 ? 'even' : 'odd');
  1123.                 Sfjs.addClass(items[i], i % 2 ? 'odd' : 'even');
  1124.                 target.appendChild(items[i]);
  1125.             }
  1126.         }
  1127.         if (navigator.clipboard) {
  1128.             document.querySelectorAll('[data-clipboard-text]').forEach(function(button) {
  1129.                 Sfjs.removeClass(button, 'hidden');
  1130.                 button.addEventListener('click', function() {
  1131.                     navigator.clipboard.writeText(button.getAttribute('data-clipboard-text'));
  1132.                 })
  1133.             });
  1134.         }
  1135.         //]]></script>
  1136. ";
  1137.         
  1138.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1139.         
  1140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1141.     }
  1142.     // line 511
  1143.     public function macro_render_simple_table($__label1__ null$__label2__ null$__data__ null, ...$__varargs__)
  1144.     {
  1145.         $macros $this->macros;
  1146.         $context $this->env->mergeGlobals([
  1147.             "label1" => $__label1__,
  1148.             "label2" => $__label2__,
  1149.             "data" => $__data__,
  1150.             "varargs" => $__varargs__,
  1151.         ]);
  1152.         $blocks = [];
  1153.         ob_start();
  1154.         try {
  1155.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  1156.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""render_simple_table"));
  1157.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  1158.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""render_simple_table"));
  1159.             // line 512
  1160.             echo "    <table>
  1161.         <thead>
  1162.         <tr>
  1163.             <th scope=\"col\" class=\"key\">";
  1164.             // line 515
  1165.             echo twig_escape_filter($this->env, (isset($context["label1"]) || array_key_exists("label1"$context) ? $context["label1"] : (function () { throw new RuntimeError('Variable "label1" does not exist.'515$this->source); })()), "html"nulltrue);
  1166.             echo "</th>
  1167.             <th scope=\"col\">";
  1168.             // line 516
  1169.             echo twig_escape_filter($this->env, (isset($context["label2"]) || array_key_exists("label2"$context) ? $context["label2"] : (function () { throw new RuntimeError('Variable "label2" does not exist.'516$this->source); })()), "html"nulltrue);
  1170.             echo "</th>
  1171.         </tr>
  1172.         </thead>
  1173.         <tbody>
  1174.         ";
  1175.             // line 520
  1176.             $context['_parent'] = $context;
  1177.             $context['_seq'] = twig_ensure_traversable((isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'520$this->source); })()));
  1178.             foreach ($context['_seq'] as $context["key"] => $context["value"]) {
  1179.                 // line 521
  1180.                 echo "            <tr>
  1181.                 <th scope=\"row\">";
  1182.                 // line 522
  1183.                 echo twig_escape_filter($this->env$context["key"], "html"nulltrue);
  1184.                 echo "</th>
  1185.                 <td>";
  1186.                 // line 523
  1187.                 echo twig_escape_filter($this->env$context["value"], "html"nulltrue);
  1188.                 echo "</td>
  1189.             </tr>
  1190.         ";
  1191.             }
  1192.             $_parent $context['_parent'];
  1193.             unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']);
  1194.             $context array_intersect_key($context$_parent) + $_parent;
  1195.             // line 526
  1196.             echo "        </tbody>
  1197.     </table>
  1198. ";
  1199.             
  1200.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1201.             
  1202.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1203.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  1204.         } finally {
  1205.             ob_end_clean();
  1206.         }
  1207.     }
  1208.     /**
  1209.      * @codeCoverageIgnore
  1210.      */
  1211.     public function getTemplateName()
  1212.     {
  1213.         return "@Doctrine/Collector/db.html.twig";
  1214.     }
  1215.     /**
  1216.      * @codeCoverageIgnore
  1217.      */
  1218.     public function isTraitable()
  1219.     {
  1220.         return false;
  1221.     }
  1222.     /**
  1223.      * @codeCoverageIgnore
  1224.      */
  1225.     public function getDebugInfo()
  1226.     {
  1227.         return array (  1270 => 526,  1261 => 523,  1257 => 522,  1254 => 521,  1250 => 520,  1243 => 516,  1239 => 515,  1234 => 512,  1213 => 511,  1132 => 438,  1129 => 437,  1123 => 436,  1118 => 433,  1110 => 430,  1106 => 428,  1102 => 426,  1093 => 424,  1089 => 423,  1086 => 422,  1084 => 421,  1076 => 418,  1070 => 416,  1067 => 415,  1063 => 414,  1053 => 406,  1047 => 402,  1045 => 401,  1042 => 400,  1036 => 398,  1033 => 397,  1028 => 396,  1022 => 392,  1020 => 391,  1013 => 387,  1008 => 384,  1005 => 383,  1002 => 382,  997 => 380,  994 => 379,  992 => 378,  989 => 377,  984 => 375,  981 => 374,  979 => 373,  976 => 372,  971 => 370,  968 => 369,  966 => 368,  958 => 363,  950 => 358,  942 => 353,  938 => 351,  932 => 347,  929 => 346,  923 => 342,  921 => 341,  914 => 337,  909 => 334,  903 => 332,  897 => 328,  895 => 327,  888 => 323,  883 => 320,  877 => 318,  871 => 314,  869 => 313,  863 => 310,  858 => 307,  855 => 306,  841 => 305,  836 => 302,  820 => 299,  814 => 295,  794 => 290,  790 => 288,  788 => 287,  783 => 286,  781 => 285,  775 => 283,  772 => 282,  770 => 281,  764 => 278,  761 => 277,  744 => 276,  729 => 267,  727 => 266,  724 => 265,  716 => 263,  714 => 262,  711 => 261,  705 => 258,  700 => 257,  698 => 256,  691 => 255,  689 => 254,  683 => 251,  679 => 250,  673 => 249,  669 => 247,  662 => 245,  659 => 244,  657 => 243,  654 => 242,  645 => 240,  642 => 239,  640 => 238,  637 => 237,  630 => 235,  627 => 234,  625 => 233,  618 => 231,  611 => 227,  605 => 224,  602 => 223,  597 => 221,  592 => 220,  587 => 218,  580 => 216,  576 => 215,  573 => 214,  571 => 213,  564 => 212,  561 => 211,  544 => 210,  540 => 209,  535 => 206,  530 => 204,  525 => 203,  520 => 201,  515 => 200,  513 => 199,  508 => 196,  505 => 195,  502 => 194,  499 => 193,  493 => 189,  491 => 188,  488 => 187,  482 => 185,  479 => 184,  462 => 183,  459 => 182,  453 => 180,  447 => 178,  444 => 177,  438 => 173,  436 => 172,  431 => 169,  427 => 167,  423 => 165,  421 => 164,  418 => 163,  416 => 162,  412 => 161,  407 => 158,  399 => 153,  392 => 149,  385 => 145,  381 => 143,  379 => 142,  371 => 137,  363 => 132,  355 => 127,  347 => 122,  338 => 115,  327 => 106,  325 => 105,  317 => 99,  307 => 98,  293 => 94,  289 => 92,  287 => 91,  286 => 90,  285 => 88,  283 => 87,  280 => 86,  270 => 85,  259 => 82,  253 => 79,  250 => 78,  248 => 77,  243 => 75,  236 => 74,  226 => 73,  212 => 68,  209 => 67,  206 => 66,  199 => 61,  191 => 58,  182 => 54,  175 => 50,  171 => 48,  169 => 47,  162 => 45,  155 => 41,  148 => 37,  139 => 33,  135 => 31,  133 => 30,  130 => 29,  127 => 28,  120 => 24,  113 => 21,  106 => 18,  104 => 17,  101 => 16,  95 => 14,  89 => 12,  87 => 11,  84 => 10,  81 => 9,  79 => 8,  76 => 7,  73 => 6,  63 => 5,  53 => 1,  51 => 3,  38 => 1,);
  1228.     }
  1229.     public function getSourceContext()
  1230.     {
  1231.         return new Source("{% extends request.isXmlHttpRequest ? '@WebProfiler/Profiler/ajax_layout.html.twig' : '@WebProfiler/Profiler/layout.html.twig' %}
  1232. {% import _self as helper %}
  1233. {% block toolbar %}
  1234.     {% if collector.querycount > 0 or collector.invalidEntityCount > 0 %}
  1235.         {% set icon %}
  1236.             {% set status = collector.invalidEntityCount > 0 ? 'red' : collector.querycount > 50 ? 'yellow' %}
  1237.             {% if profiler_markup_version >= 3 %}
  1238.                 {{ include('@Doctrine/Collector/database.svg') }}
  1239.             {% else %}
  1240.                 <span class=\"icon\">{{ include('@Doctrine/Collector/icon.svg') }}</span>
  1241.             {% endif %}
  1242.             {% if collector.querycount == 0 and collector.invalidEntityCount > 0 %}
  1243.                 <span class=\"sf-toolbar-value\">{{ collector.invalidEntityCount }}</span>
  1244.                 <span class=\"sf-toolbar-label\">errors</span>
  1245.             {% else %}
  1246.                 <span class=\"sf-toolbar-value\">{{ collector.querycount }}</span>
  1247.                 <span class=\"sf-toolbar-info-piece-additional-detail\">
  1248.                     <span class=\"sf-toolbar-label\">in</span>
  1249.                     <span class=\"sf-toolbar-value\">{{ '%0.2f'|format(collector.time * 1000) }}</span>
  1250.                     <span class=\"sf-toolbar-label\">ms</span>
  1251.                 </span>
  1252.             {% endif %}
  1253.         {% endset %}
  1254.         {% set text %}
  1255.             <div class=\"sf-toolbar-info-piece\">
  1256.                 <b>Database Queries</b>
  1257.                 <span class=\"sf-toolbar-status {{ collector.querycount > 50 ? 'sf-toolbar-status-yellow' : '' }}\">{{ collector.querycount }}</span>
  1258.             </div>
  1259.             <div class=\"sf-toolbar-info-piece\">
  1260.                 <b>Different statements</b>
  1261.                 <span class=\"sf-toolbar-status\">{{ collector.groupedQueryCount }}</span>
  1262.             </div>
  1263.             <div class=\"sf-toolbar-info-piece\">
  1264.                 <b>Query time</b>
  1265.                 <span>{{ '%0.2f'|format(collector.time * 1000) }} ms</span>
  1266.             </div>
  1267.             <div class=\"sf-toolbar-info-piece\">
  1268.                 <b>Invalid entities</b>
  1269.                 <span class=\"sf-toolbar-status {{ collector.invalidEntityCount > 0 ? 'sf-toolbar-status-red' : '' }}\">{{ collector.invalidEntityCount }}</span>
  1270.             </div>
  1271.             {% if collector.cacheEnabled %}
  1272.                 <div class=\"sf-toolbar-info-piece\">
  1273.                     <b>Cache hits</b>
  1274.                     <span class=\"sf-toolbar-status sf-toolbar-status-green\">{{ collector.cacheHitsCount }}</span>
  1275.                 </div>
  1276.                 <div class=\"sf-toolbar-info-piece\">
  1277.                     <b>Cache misses</b>
  1278.                     <span class=\"sf-toolbar-status {{ collector.cacheMissesCount > 0 ? 'sf-toolbar-status-yellow' : '' }}\">{{ collector.cacheMissesCount }}</span>
  1279.                 </div>
  1280.                 <div class=\"sf-toolbar-info-piece\">
  1281.                     <b>Cache puts</b>
  1282.                     <span class=\"sf-toolbar-status {{ collector.cachePutsCount > 0 ? 'sf-toolbar-status-yellow' : '' }}\">{{ collector.cachePutsCount }}</span>
  1283.                 </div>
  1284.             {% else %}
  1285.                 <div class=\"sf-toolbar-info-piece\">
  1286.                     <b>Second Level Cache</b>
  1287.                     <span class=\"sf-toolbar-status\">disabled</span>
  1288.                 </div>
  1289.             {% endif %}
  1290.         {% endset %}
  1291.         {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, status: status|default('') }) }}
  1292.     {% endif %}
  1293. {% endblock %}
  1294. {% block menu %}
  1295.     <span class=\"label {{ collector.invalidEntityCount > 0 ? 'label-status-error' }} {{ collector.querycount == 0 ? 'disabled' }}\">
  1296.         <span class=\"icon\">{{ include('@Doctrine/Collector/' ~ (profiler_markup_version < 3 ? 'icon' : 'database') ~ '.svg') }}</span>
  1297.         <strong>Doctrine</strong>
  1298.         {% if collector.invalidEntityCount %}
  1299.             <span class=\"count\">
  1300.                 <span>{{ collector.invalidEntityCount }}</span>
  1301.             </span>
  1302.         {% endif %}
  1303.     </span>
  1304. {% endblock %}
  1305. {% block panel %}
  1306.     {% if 'explain' == page %}
  1307.         {{ render(controller('Doctrine\\\\Bundle\\\\DoctrineBundle\\\\Controller\\\\ProfilerController::explainAction', {
  1308.             token: token,
  1309.             panel: 'db',
  1310.             connectionName: request.query.get('connection'),
  1311.             query: request.query.get('query')
  1312.         })) }}
  1313.     {% else %}
  1314.         {{ block('queries') }}
  1315.     {% endif %}
  1316. {% endblock %}
  1317. {% block queries %}
  1318.     <style>
  1319.         .time-container { position: relative; }
  1320.         .time-container .nowrap { position: relative; z-index: 1; text-shadow: 0 0 2px #fff; }
  1321.         .time-bar { display: block; position: absolute; top: 0; left: 0; bottom: 0; background: #e0e0e0; }
  1322.         .sql-runnable.sf-toggle-content.sf-toggle-visible { display: flex; flex-direction: column; }
  1323.         .sql-runnable button { align-self: end; }
  1324.         {% if profiler_markup_version >= 3 %}
  1325.         .highlight .keyword   { color: var(--highlight-keyword); font-weight: bold; }
  1326.         .highlight .word      { color: var(--color-text); }
  1327.         .highlight .variable  { color: var(--highlight-variable); }
  1328.         .highlight .symbol    { color: var(--color-text); }
  1329.         .highlight .comment   { color: var(--highlight-comment); }
  1330.         .highlight .string    { color: var(--highlight-string); }
  1331.         .highlight .number    { color: var(--highlight-constant); font-weight: bold; }
  1332.         .highlight .error     { color: var(--highlight-error); }
  1333.         {% endif %}
  1334.     </style>
  1335.     <h2>Query Metrics</h2>
  1336.     <div class=\"metrics\">
  1337.         <div class=\"metric-group\">
  1338.             <div class=\"metric\">
  1339.                 <span class=\"value\">{{ collector.querycount }}</span>
  1340.                 <span class=\"label\">Database Queries</span>
  1341.             </div>
  1342.             <div class=\"metric\">
  1343.                 <span class=\"value\">{{ collector.groupedQueryCount }}</span>
  1344.                 <span class=\"label\">Different statements</span>
  1345.             </div>
  1346.             <div class=\"metric\">
  1347.                 <span class=\"value\">{{ '%0.2f'|format(collector.time * 1000) }} ms</span>
  1348.                 <span class=\"label\">Query time</span>
  1349.             </div>
  1350.             <div class=\"metric\">
  1351.                 <span class=\"value\">{{ collector.invalidEntityCount }}</span>
  1352.                 <span class=\"label\">Invalid entities</span>
  1353.             </div>
  1354.         </div>
  1355.         {% if collector.cacheEnabled %}
  1356.             <div class=\"metric-group\">
  1357.                 <div class=\"metric\">
  1358.                     <span class=\"value\">{{ collector.cacheHitsCount }}</span>
  1359.                     <span class=\"label\">Cache hits</span>
  1360.                 </div>
  1361.                 <div class=\"metric\">
  1362.                     <span class=\"value\">{{ collector.cacheMissesCount }}</span>
  1363.                     <span class=\"label\">Cache misses</span>
  1364.                 </div>
  1365.                 <div class=\"metric\">
  1366.                     <span class=\"value\">{{ collector.cachePutsCount }}</span>
  1367.                     <span class=\"label\">Cache puts</span>
  1368.                 </div>
  1369.             </div>
  1370.         {% endif %}
  1371.     </div>
  1372.     <div class=\"sf-tabs\" style=\"margin-top: 20px;\">
  1373.         <div class=\"tab {{ collector.queries is empty ? 'disabled' }}\">
  1374.             {% set group_queries = request.query.getBoolean('group') %}
  1375.             <h3 class=\"tab-title\">
  1376.                 {% if group_queries %}
  1377.                     Grouped Statements
  1378.                 {% else %}
  1379.                     Queries
  1380.                 {% endif %}
  1381.             </h3>
  1382.             <div class=\"tab-content\">
  1383.                 {% if not collector.queries %}
  1384.                     <div class=\"empty\">
  1385.                         <p>No executed queries.</p>
  1386.                     </div>
  1387.                 {% else %}
  1388.                     {% if group_queries %}
  1389.                         <p><a href=\"{{ path('_profiler', { panel: 'db', token: token }) }}\">Show all queries</a></p>
  1390.                     {% else %}
  1391.                         <p><a href=\"{{ path('_profiler', { panel: 'db', token: token, group: true }) }}\">Group similar statements</a></p>
  1392.                     {% endif %}
  1393.                     {% for connection, queries in collector.queries %}
  1394.                         {% if collector.connections|length > 1 %}
  1395.                             <h3>{{ connection }} <small>connection</small></h3>
  1396.                         {% endif %}
  1397.                         {% if queries is empty %}
  1398.                             <div class=\"empty\">
  1399.                                 <p>No database queries were performed.</p>
  1400.                             </div>
  1401.                         {% else %}
  1402.                             {% if group_queries %}
  1403.                                 {% set queries = collector.groupedQueries[connection] %}
  1404.                             {% endif %}
  1405.                             <table class=\"alt queries-table\">
  1406.                                 <thead>
  1407.                                 <tr>
  1408.                                     {% if group_queries %}
  1409.                                         <th class=\"nowrap\" onclick=\"javascript:sortTable(this, 0, 'queries-{{ loop.index }}')\" data-sort-direction=\"1\" style=\"cursor: pointer;\">Time<span class=\"text-muted\">&#9660;</span></th>
  1410.                                         <th class=\"nowrap\" onclick=\"javascript:sortTable(this, 1, 'queries-{{ loop.index }}')\" style=\"cursor: pointer;\">Count<span></span></th>
  1411.                                     {% else %}
  1412.                                         <th class=\"nowrap\" onclick=\"javascript:sortTable(this, 0, 'queries-{{ loop.index }}')\" data-sort-direction=\"-1\" style=\"cursor: pointer;\">#<span class=\"text-muted\">&#9650;</span></th>
  1413.                                         <th class=\"nowrap\" onclick=\"javascript:sortTable(this, 1, 'queries-{{ loop.index }}')\" style=\"cursor: pointer;\">Time<span></span></th>
  1414.                                     {% endif %}
  1415.                                     <th style=\"width: 100%;\">Info</th>
  1416.                                 </tr>
  1417.                                 </thead>
  1418.                                 <tbody id=\"queries-{{ loop.index }}\">
  1419.                                 {% for i, query in queries %}
  1420.                                     {% set i = group_queries ? query.index : i %}
  1421.                                     <tr id=\"queryNo-{{ i }}-{{ loop.parent.loop.index }}\">
  1422.                                         {% if group_queries %}
  1423.                                             <td class=\"time-container\">
  1424.                                                 <span class=\"time-bar\" style=\"width:{{ '%0.2f'|format(query.executionPercent) }}%\"></span>
  1425.                                                 <span class=\"nowrap\">{{ '%0.2f'|format(query.executionMS * 1000) }}&nbsp;ms<br />({{ '%0.2f'|format(query.executionPercent) }}%)</span>
  1426.                                             </td>
  1427.                                             <td class=\"nowrap\">{{ query.count }}</td>
  1428.                                         {% else %}
  1429.                                             <td class=\"nowrap\">{{ loop.index }}</td>
  1430.                                             <td class=\"nowrap\">{{ '%0.2f'|format(query.executionMS * 1000) }}&nbsp;ms</td>
  1431.                                         {% endif %}
  1432.                                         <td>
  1433.                                             {{ query.sql|doctrine_prettify_sql }}
  1434.                                             <div>
  1435.                                                 <strong class=\"font-normal text-small\">Parameters</strong>: {{ profiler_dump(query.params, 2) }}
  1436.                                             </div>
  1437.                                             <div class=\"text-small font-normal\">
  1438.                                                 <a href=\"#\" class=\"sf-toggle link-inverse\" data-toggle-selector=\"#formatted-query-{{ i }}-{{ loop.parent.loop.index }}\" data-toggle-alt-content=\"Hide formatted query\">View formatted query</a>
  1439.                                                 {% if query.runnable %}
  1440.                                                     &nbsp;&nbsp;
  1441.                                                     <a href=\"#\" class=\"sf-toggle link-inverse\" data-toggle-selector=\"#original-query-{{ i }}-{{ loop.parent.loop.index }}\" data-toggle-alt-content=\"Hide runnable query\">View runnable query</a>
  1442.                                                 {% endif %}
  1443.                                                 {% if query.explainable %}
  1444.                                                     &nbsp;&nbsp;
  1445.                                                     <a class=\"link-inverse\" href=\"{{ path('_profiler', { panel: 'db', token: token, page: 'explain', connection: connection, query: i }) }}\" onclick=\"return explain(this);\" data-target-id=\"explain-{{ i }}-{{ loop.parent.loop.index }}\">Explain query</a>
  1446.                                                 {% endif %}
  1447.                                                 {% if query.backtrace is defined %}
  1448.                                                     &nbsp;&nbsp;
  1449.                                                     <a href=\"#\" class=\"sf-toggle link-inverse\" data-toggle-selector=\"#backtrace-{{ i }}-{{ loop.parent.loop.index }}\" data-toggle-alt-content=\"Hide query backtrace\">View query backtrace</a>
  1450.                                                 {% endif %}
  1451.                                             </div>
  1452.                                             <div id=\"formatted-query-{{ i }}-{{ loop.parent.loop.index }}\" class=\"sql-runnable hidden\">
  1453.                                                 {{ query.sql|doctrine_format_sql(highlight = true) }}
  1454.                                                 <button class=\"btn btn-sm hidden\" data-clipboard-text=\"{{ query.sql|doctrine_format_sql(highlight = false)|e('html_attr') }}\">Copy</button>
  1455.                                             </div>
  1456.                                             {% if query.runnable %}
  1457.                                                 <div id=\"original-query-{{ i }}-{{ loop.parent.loop.index }}\" class=\"sql-runnable hidden\">
  1458.                                                     {% set runnable_sql = (query.sql ~ ';')|doctrine_replace_query_parameters(query.params) %}
  1459.                                                     {{ runnable_sql|doctrine_prettify_sql }}
  1460.                                                     <button class=\"btn btn-sm hidden\" data-clipboard-text=\"{{ runnable_sql|e('html_attr') }}\">Copy</button>
  1461.                                                 </div>
  1462.                                             {% endif %}
  1463.                                             {% if query.explainable %}
  1464.                                                 <div id=\"explain-{{ i }}-{{ loop.parent.loop.index }}\" class=\"sql-explain\"></div>
  1465.                                             {% endif %}
  1466.                                             {% if query.backtrace is defined %}
  1467.                                                 <div id=\"backtrace-{{ i }}-{{ loop.parent.loop.index }}\" class=\"hidden\">
  1468.                                                     <table>
  1469.                                                         <thead>
  1470.                                                         <tr>
  1471.                                                             <th scope=\"col\">#</th>
  1472.                                                             <th scope=\"col\">File/Call</th>
  1473.                                                         </tr>
  1474.                                                         </thead>
  1475.                                                         <tbody>
  1476.                                                         {% for trace in query.backtrace %}
  1477.                                                             <tr>
  1478.                                                                 <td>{{ loop.index }}</td>
  1479.                                                                 <td>
  1480.                                                                             <span class=\"text-small\">
  1481.                                                                                 {% set line_number = trace.line|default(1) %}
  1482.                                                                                 {% if trace.file is defined %}
  1483.                                                                                     <a href=\"{{ trace.file|file_link(line_number) }}\">
  1484.                                                                                 {% endif %}
  1485.                                                                                         {{- trace.class|default ~ (trace.class is defined ? trace.type|default('::')) -}}
  1486.                                                                                     <span class=\"status-warning\">{{ trace.function }}</span>
  1487.                                                                                 {% if trace.file is defined %}
  1488.                                                                                     </a>
  1489.                                                                                 {% endif %}
  1490.                                                                                 (line {{ line_number }})
  1491.                                                                             </span>
  1492.                                                                 </td>
  1493.                                                             </tr>
  1494.                                                         {% endfor %}
  1495.                                                         </tbody>
  1496.                                                     </table>
  1497.                                                 </div>
  1498.                                             {% endif %}
  1499.                                         </td>
  1500.                                     </tr>
  1501.                                 {% endfor %}
  1502.                                 </tbody>
  1503.                             </table>
  1504.                         {% endif %}
  1505.                     {% endfor %}
  1506.                 {% endif %}
  1507.             </div>
  1508.         </div>
  1509.         <div class=\"tab {{ collector.connections is empty ? 'disabled' }}\">
  1510.             <h3 class=\"tab-title\">Database Connections</h3>
  1511.             <div class=\"tab-content\">
  1512.                 {% if not collector.connections %}
  1513.                     <div class=\"empty\">
  1514.                         <p>There are no configured database connections.</p>
  1515.                     </div>
  1516.                 {% else %}
  1517.                     {{ helper.render_simple_table('Name', 'Service', collector.connections) }}
  1518.                 {% endif %}
  1519.             </div>
  1520.         </div>
  1521.         <div class=\"tab {{ collector.managers is empty ? 'disabled' }}\">
  1522.             <h3 class=\"tab-title\">Entity Managers</h3>
  1523.             <div class=\"tab-content\">
  1524.                 {% if not collector.managers %}
  1525.                     <div class=\"empty\">
  1526.                         <p>There are no configured entity managers.</p>
  1527.                     </div>
  1528.                 {% else %}
  1529.                     {{ helper.render_simple_table('Name', 'Service', collector.managers) }}
  1530.                 {% endif %}
  1531.             </div>
  1532.         </div>
  1533.         <div class=\"tab {{ not collector.cacheEnabled ? 'disabled' }}\">
  1534.             <h3 class=\"tab-title\">Second Level Cache</h3>
  1535.             <div class=\"tab-content\">
  1536.                 {% if not collector.cacheEnabled %}
  1537.                     <div class=\"empty\">
  1538.                         <p>Second Level Cache is not enabled.</p>
  1539.                     </div>
  1540.                 {% else %}
  1541.                     {% if not collector.cacheCounts %}
  1542.                         <div class=\"empty\">
  1543.                             <p>Second level cache information is not available.</p>
  1544.                         </div>
  1545.                     {% else %}
  1546.                         <div class=\"metrics\">
  1547.                             <div class=\"metric\">
  1548.                                 <span class=\"value\">{{ collector.cacheCounts.hits }}</span>
  1549.                                 <span class=\"label\">Hits</span>
  1550.                             </div>
  1551.                             <div class=\"metric\">
  1552.                                 <span class=\"value\">{{ collector.cacheCounts.misses }}</span>
  1553.                                 <span class=\"label\">Misses</span>
  1554.                             </div>
  1555.                             <div class=\"metric\">
  1556.                                 <span class=\"value\">{{ collector.cacheCounts.puts }}</span>
  1557.                                 <span class=\"label\">Puts</span>
  1558.                             </div>
  1559.                         </div>
  1560.                         {% if collector.cacheRegions.hits %}
  1561.                             <h3>Number of cache hits</h3>
  1562.                             {{ helper.render_simple_table('Region', 'Hits', collector.cacheRegions.hits) }}
  1563.                         {% endif %}
  1564.                         {% if collector.cacheRegions.misses %}
  1565.                             <h3>Number of cache misses</h3>
  1566.                             {{ helper.render_simple_table('Region', 'Misses', collector.cacheRegions.misses) }}
  1567.                         {% endif %}
  1568.                         {% if collector.cacheRegions.puts %}
  1569.                             <h3>Number of cache puts</h3>
  1570.                             {{ helper.render_simple_table('Region', 'Puts', collector.cacheRegions.puts) }}
  1571.                         {% endif %}
  1572.                     {% endif %}
  1573.                 {% endif %}
  1574.             </div>
  1575.         </div>
  1576.         <div class=\"tab {{ not collector.entities ? 'disabled' }}\">
  1577.             <h3 class=\"tab-title\">Entities Mapping</h3>
  1578.             <div class=\"tab-content\">
  1579.                 {% if not collector.entities %}
  1580.                     <div class=\"empty\">
  1581.                         <p>No mapped entities.</p>
  1582.                     </div>
  1583.                 {% else %}
  1584.                     {% for manager, classes in collector.entities %}
  1585.                         {% if collector.managers|length > 1 %}
  1586.                             <h3>{{ manager }} <small>entity manager</small></h3>
  1587.                         {% endif %}
  1588.                         {% if classes is empty %}
  1589.                             <div class=\"empty\">
  1590.                                 <p>No loaded entities.</p>
  1591.                             </div>
  1592.                         {% else %}
  1593.                             <table>
  1594.                                 <thead>
  1595.                                 <tr>
  1596.                                     <th scope=\"col\">Class</th>
  1597.                                     <th scope=\"col\">Mapping errors</th>
  1598.                                 </tr>
  1599.                                 </thead>
  1600.                                 <tbody>
  1601.                                 {% for class in classes %}
  1602.                                     {% set contains_errors = collector.mappingErrors[manager] is defined and collector.mappingErrors[manager][class.class] is defined %}
  1603.                                     <tr class=\"{{ contains_errors ? 'status-error' }}\">
  1604.                                         <td>
  1605.                                 <a href=\"{{ class.file|file_link(class.line) }}\">{{ class. class}}</a>
  1606.                             </td>
  1607.                                         <td class=\"font-normal\">
  1608.                                             {% if contains_errors %}
  1609.                                                 <ul>
  1610.                                                     {% for error in collector.mappingErrors[manager][class.class] %}
  1611.                                                         <li>{{ error }}</li>
  1612.                                                     {% endfor %}
  1613.                                                 </ul>
  1614.                                             {% else %}
  1615.                                                 No errors.
  1616.                                             {% endif %}
  1617.                                         </td>
  1618.                                     </tr>
  1619.                                 {% endfor %}
  1620.                                 </tbody>
  1621.                             </table>
  1622.                         {% endif %}
  1623.                     {% endfor %}
  1624.                 {% endif %}
  1625.             </div>
  1626.         </div>
  1627.     </div>
  1628.     <script type=\"text/javascript\">//<![CDATA[
  1629.         function explain(link) {
  1630.             \"use strict\";
  1631.             var targetId = link.getAttribute('data-target-id');
  1632.             var targetElement = document.getElementById(targetId);
  1633.             if (targetElement.style.display != 'block') {
  1634.                 Sfjs.load(targetId, link.href, null, function(xhr, el) {
  1635.                     el.innerHTML = 'An error occurred while loading the query explanation.';
  1636.                 });
  1637.                 targetElement.style.display = 'block';
  1638.                 link.innerHTML = 'Hide query explanation';
  1639.             } else {
  1640.                 targetElement.style.display = 'none';
  1641.                 link.innerHTML = 'Explain query';
  1642.             }
  1643.             return false;
  1644.         }
  1645.         function sortTable(header, column, targetId) {
  1646.             \"use strict\";
  1647.             var direction = parseInt(header.getAttribute('data-sort-direction')) || 1,
  1648.                 items = [],
  1649.                 target = document.getElementById(targetId),
  1650.                 rows = target.children,
  1651.                 headers = header.parentElement.children,
  1652.                 i;
  1653.             for (i = 0; i < rows.length; ++i) {
  1654.                 items.push(rows[i]);
  1655.             }
  1656.             for (i = 0; i < headers.length; ++i) {
  1657.                 headers[i].removeAttribute('data-sort-direction');
  1658.                 if (headers[i].children.length > 0) {
  1659.                     headers[i].children[0].innerHTML = '';
  1660.                 }
  1661.             }
  1662.             header.setAttribute('data-sort-direction', (-1*direction).toString());
  1663.             header.children[0].innerHTML = direction > 0 ? '<span class=\"text-muted\">&#9650;</span>' : '<span class=\"text-muted\">&#9660;</span>';
  1664.             items.sort(function(a, b) {
  1665.                 return direction * (parseFloat(a.children[column].innerHTML) - parseFloat(b.children[column].innerHTML));
  1666.             });
  1667.             for (i = 0; i < items.length; ++i) {
  1668.                 Sfjs.removeClass(items[i], i % 2 ? 'even' : 'odd');
  1669.                 Sfjs.addClass(items[i], i % 2 ? 'odd' : 'even');
  1670.                 target.appendChild(items[i]);
  1671.             }
  1672.         }
  1673.         if (navigator.clipboard) {
  1674.             document.querySelectorAll('[data-clipboard-text]').forEach(function(button) {
  1675.                 Sfjs.removeClass(button, 'hidden');
  1676.                 button.addEventListener('click', function() {
  1677.                     navigator.clipboard.writeText(button.getAttribute('data-clipboard-text'));
  1678.                 })
  1679.             });
  1680.         }
  1681.         //]]></script>
  1682. {% endblock %}
  1683. {% macro render_simple_table(label1, label2, data) %}
  1684.     <table>
  1685.         <thead>
  1686.         <tr>
  1687.             <th scope=\"col\" class=\"key\">{{ label1 }}</th>
  1688.             <th scope=\"col\">{{ label2 }}</th>
  1689.         </tr>
  1690.         </thead>
  1691.         <tbody>
  1692.         {% for key, value in data %}
  1693.             <tr>
  1694.                 <th scope=\"row\">{{ key }}</th>
  1695.                 <td>{{ value }}</td>
  1696.             </tr>
  1697.         {% endfor %}
  1698.         </tbody>
  1699.     </table>
  1700. {% endmacro %}
  1701. ""@Doctrine/Collector/db.html.twig""/var/www/html/t/taurushr/vendor/doctrine/doctrine-bundle/Resources/views/Collector/db.html.twig");
  1702.     }
  1703. }