source = $this->getSourceContext(); $this->blocks = [ 'toolbar' => [$this, 'block_toolbar'], 'menu' => [$this, 'block_menu'], 'panel' => [$this, 'block_panel'], 'queries' => [$this, 'block_queries'], ]; } protected function doGetParent(array $context) { // line 1 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", false, false, false, 1)) ? ("@WebProfiler/Profiler/ajax_layout.html.twig") : ("@WebProfiler/Profiler/layout.html.twig")), "@Doctrine/Collector/db.html.twig", 1); } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Doctrine/Collector/db.html.twig")); // line 3 $macros["helper"] = $this->macros["helper"] = $this; // line 1 $this->getParent($context)->display($context, array_merge($this->blocks, $blocks)); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 5 public function block_toolbar($context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar")); // line 6 echo " "; 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", false, false, false, 6) > 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", false, false, false, 6) > 0))) { // line 7 echo " "; // line 8 $context["profiler_markup_version"] = (((isset($context["profiler_markup_version"]) || array_key_exists("profiler_markup_version", $context))) ? (_twig_default_filter((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.', 8, $this->source); })()), 1)) : (1)); // line 9 echo " "; // line 10 ob_start(); // line 11 echo " "; 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); })()) == 1)) { // line 12 echo " \"Database\" env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 14, $this->source); })()), "querycount", [], "any", false, false, false, 14) > 50)) { echo "sf-toolbar-status-yellow"; } echo "\">"; echo twig_escape_filter($this->env, 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.', 14, $this->source); })()), "querycount", [], "any", false, false, false, 14), "html", null, true); echo " "; // line 15 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.', 15, $this->source); })()), "querycount", [], "any", false, false, false, 15) > 0)) { // line 16 echo " in "; echo twig_escape_filter($this->env, 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.', 16, $this->source); })()), "time", [], "any", false, false, false, 16) * 1000)), "html", null, true); echo " ms "; } // line 18 echo " "; 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.', 18, $this->source); })()), "invalidEntityCount", [], "any", false, false, false, 18) > 0)) { // line 19 echo " "; echo twig_escape_filter($this->env, 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.', 19, $this->source); })()), "invalidEntityCount", [], "any", false, false, false, 19), "html", null, true); echo " "; } // line 21 echo " "; } else { // line 23 echo " "; // line 24 $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.', 24, $this->source); })()), "invalidEntityCount", [], "any", false, false, false, 24) > 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.', 24, $this->source); })()), "querycount", [], "any", false, false, false, 24) > 50)) ? ("yellow") : ("")))); // line 25 echo " "; // line 26 echo twig_include($this->env, $context, "@Doctrine/Collector/icon.svg"); echo " "; // line 28 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.', 28, $this->source); })()), "querycount", [], "any", false, false, false, 28) == 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.', 28, $this->source); })()), "invalidEntityCount", [], "any", false, false, false, 28) > 0))) { // line 29 echo " "; echo twig_escape_filter($this->env, 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.', 29, $this->source); })()), "invalidEntityCount", [], "any", false, false, false, 29), "html", null, true); echo " errors "; } else { // line 32 echo " "; echo twig_escape_filter($this->env, 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.', 32, $this->source); })()), "querycount", [], "any", false, false, false, 32), "html", null, true); echo " in "; // line 35 echo twig_escape_filter($this->env, 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.', 35, $this->source); })()), "time", [], "any", false, false, false, 35) * 1000)), "html", null, true); echo " ms "; } // line 39 echo " "; } // line 41 echo " "; $context["icon"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 42 echo " "; // line 43 ob_start(); // line 44 echo "
Database Queries env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 46, $this->source); })()), "querycount", [], "any", false, false, false, 46) > 50)) ? ("sf-toolbar-status-yellow") : ("")); echo "\">"; echo twig_escape_filter($this->env, 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.', 46, $this->source); })()), "querycount", [], "any", false, false, false, 46), "html", null, true); echo "
Query time "; // line 50 echo twig_escape_filter($this->env, 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.', 50, $this->source); })()), "time", [], "any", false, false, false, 50) * 1000)), "html", null, true); echo " ms
Invalid entities 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); })()), "invalidEntityCount", [], "any", false, false, false, 54) > 0)) ? ("sf-toolbar-status-red") : ("")); echo "\">"; echo twig_escape_filter($this->env, 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); })()), "invalidEntityCount", [], "any", false, false, false, 54), "html", null, true); echo "
"; // line 56 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.', 56, $this->source); })()), "cacheEnabled", [], "any", false, false, false, 56)) { // line 57 echo "
Cache hits "; // line 59 echo twig_escape_filter($this->env, 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.', 59, $this->source); })()), "cacheHitsCount", [], "any", false, false, false, 59), "html", null, true); echo "
Cache misses env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 63, $this->source); })()), "cacheMissesCount", [], "any", false, false, false, 63) > 0)) ? ("sf-toolbar-status-yellow") : ("")); echo "\">"; echo twig_escape_filter($this->env, 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.', 63, $this->source); })()), "cacheMissesCount", [], "any", false, false, false, 63), "html", null, true); echo "
Cache puts env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 67, $this->source); })()), "cachePutsCount", [], "any", false, false, false, 67) > 0)) ? ("sf-toolbar-status-yellow") : ("")); echo "\">"; echo twig_escape_filter($this->env, 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.', 67, $this->source); })()), "cachePutsCount", [], "any", false, false, false, 67), "html", null, true); echo "
"; } else { // line 70 echo "
Second Level Cache disabled
"; } // line 75 echo " "; $context["text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 76 echo " "; // line 77 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.', 77, $this->source); })()), "status" => (((isset($context["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.', 77, $this->source); })()), "")) : (""))]); echo " "; } $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 82 public function block_menu($context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu")); // line 83 echo " "; $context["profiler_markup_version"] = (((isset($context["profiler_markup_version"]) || array_key_exists("profiler_markup_version", $context))) ? (_twig_default_filter((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.', 83, $this->source); })()), 1)) : (1)); // line 84 echo " "; // line 85 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.', 85, $this->source); })()) == 1)) { // line 86 echo " \"\" Doctrine "; // line 91 echo twig_escape_filter($this->env, 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.', 91, $this->source); })()), "querycount", [], "any", false, false, false, 91), "html", null, true); echo " "; // line 92 echo twig_escape_filter($this->env, sprintf("%0.0f", (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.', 92, $this->source); })()), "time", [], "any", false, false, false, 92) * 1000)), "html", null, true); echo " ms "; } else { // line 97 echo " env, $this->source, (isset($context["collector"]) || array_key_exists("collector", $context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.', 98, $this->source); })()), "invalidEntityCount", [], "any", false, false, false, 98) > 0)) ? ("label-status-error") : ("")); echo " "; 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.', 98, $this->source); })()), "querycount", [], "any", false, false, false, 98) == 0)) ? ("disabled") : ("")); echo "\"> "; // line 99 echo twig_include($this->env, $context, "@Doctrine/Collector/icon.svg"); echo " Doctrine "; // line 101 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.', 101, $this->source); })()), "invalidEntityCount", [], "any", false, false, false, 101)) { // line 102 echo " "; // line 103 echo twig_escape_filter($this->env, 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.', 103, $this->source); })()), "invalidEntityCount", [], "any", false, false, false, 103), "html", null, true); echo " "; } // line 106 echo " "; } $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 111 public function block_panel($context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel")); // line 112 echo " "; $context["profiler_markup_version"] = (((isset($context["profiler_markup_version"]) || array_key_exists("profiler_markup_version", $context))) ? (_twig_default_filter((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.', 112, $this->source); })()), 1)) : (1)); // line 113 echo " "; // line 114 if (("explain" == (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 114, $this->source); })()))) { // line 115 echo " "; echo $this->extensions['Symfony\Bridge\Twig\Extension\HttpKernelExtension']->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\HttpKernelExtension']->controller("DoctrineBundle:Profiler:explain", ["token" => // line 116 (isset($context["token"]) || array_key_exists("token", $context) ? $context["token"] : (function () { throw new RuntimeError('Variable "token" does not exist.', 116, $this->source); })()), "panel" => "db", "connectionName" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 118 (isset($context["request"]) || array_key_exists("request", $context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.', 118, $this->source); })()), "query", [], "any", false, false, false, 118), "get", [0 => "connection"], "method", false, false, false, 118), "query" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, // line 119 (isset($context["request"]) || array_key_exists("request", $context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.', 119, $this->source); })()), "query", [], "any", false, false, false, 119), "get", [0 => "query"], "method", false, false, false, 119)])); // line 120 echo " "; } else { // line 122 echo " "; $this->displayBlock("queries", $context, $blocks); echo " "; } $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 126 public function block_queries($context, array $blocks = []) { $macros = $this->macros; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "queries")); // line 127 echo " "; // line 149 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.', 149, $this->source); })()) > 1)) { // line 150 echo "

Query Metrics

"; // line 154 echo twig_escape_filter($this->env, 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.', 154, $this->source); })()), "querycount", [], "any", false, false, false, 154), "html", null, true); echo " Database Queries
"; // line 159 echo twig_escape_filter($this->env, 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.', 159, $this->source); })()), "groupedQueryCount", [], "any", false, false, false, 159), "html", null, true); echo " Different statements
"; // line 164 echo twig_escape_filter($this->env, 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.', 164, $this->source); })()), "time", [], "any", false, false, false, 164) * 1000)), "html", null, true); echo " ms Query time
"; // line 169 echo twig_escape_filter($this->env, 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.', 169, $this->source); })()), "invalidEntityCount", [], "any", false, false, false, 169), "html", null, true); echo " Invalid entities
"; // line 173 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.', 173, $this->source); })()), "cacheEnabled", [], "any", false, false, false, 173)) { // line 174 echo "
\t"; // line 175 echo twig_escape_filter($this->env, 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.', 175, $this->source); })()), "cacheHitsCount", [], "any", false, false, false, 175), "html", null, true); echo " \tCache hits
\t"; // line 179 echo twig_escape_filter($this->env, 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.', 179, $this->source); })()), "cacheMissesCount", [], "any", false, false, false, 179), "html", null, true); echo " \tCache misses
\t"; // line 183 echo twig_escape_filter($this->env, 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); })()), "cachePutsCount", [], "any", false, false, false, 183), "html", null, true); echo " \tCache puts
"; } // line 187 echo "
"; } // line 189 echo " "; // line 190 $context["group_queries"] = twig_get_attribute($this->env, $this->source, 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.', 190, $this->source); })()), "query", [], "any", false, false, false, 190), "getBoolean", [0 => "group"], "method", false, false, false, 190); // line 191 echo " "; if ((isset($context["group_queries"]) || array_key_exists("group_queries", $context) ? $context["group_queries"] : (function () { throw new RuntimeError('Variable "group_queries" does not exist.', 191, $this->source); })())) { // line 192 echo "

Grouped Statements

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.', 193, $this->source); })())]), "html", null, true); echo "\">Show all queries

"; } else { // line 195 echo "

Queries

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.', 196, $this->source); })()), "group" => true]), "html", null, true); echo "\">Group similar statements

"; } // line 198 echo " "; // line 199 $context['_parent'] = $context; $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.', 199, $this->source); })()), "queries", [], "any", false, false, false, 199)); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["connection"] => $context["queries"]) { // line 200 echo " "; if ((twig_length_filter($this->env, 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.', 200, $this->source); })()), "connections", [], "any", false, false, false, 200)) > 1)) { // line 201 echo "

"; echo twig_escape_filter($this->env, $context["connection"], "html", null, true); echo " connection

"; } // line 203 echo " "; // line 204 if (twig_test_empty($context["queries"])) { // line 205 echo "

No database queries were performed.

"; } else { // line 209 echo " "; if ((isset($context["group_queries"]) || array_key_exists("group_queries", $context) ? $context["group_queries"] : (function () { throw new RuntimeError('Variable "group_queries" does not exist.', 209, $this->source); })())) { // line 210 echo " "; $context["queries"] = twig_get_attribute($this->env, $this->source, 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.', 210, $this->source); })()), "groupedQueries", [], "any", false, false, false, 210), $context["connection"], [], "array", false, false, false, 210); // line 211 echo " "; } // line 212 echo " "; // line 215 if ((isset($context["group_queries"]) || array_key_exists("group_queries", $context) ? $context["group_queries"] : (function () { throw new RuntimeError('Variable "group_queries" does not exist.', 215, $this->source); })())) { // line 216 echo " "; } else { // line 219 echo " "; } // line 222 echo " env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 225), "html", null, true); echo "\"> "; // line 226 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($context["queries"]); $context['loop'] = [ 'parent' => $context['_parent'], 'index0' => 0, 'index' => 1, 'first' => true, ]; if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) { $length = count($context['_seq']); $context['loop']['revindex0'] = $length - 1; $context['loop']['revindex'] = $length; $context['loop']['length'] = $length; $context['loop']['last'] = 1 === $length; } foreach ($context['_seq'] as $context["i"] => $context["query"]) { // line 227 echo " "; $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.', 227, $this->source); })())) ? (twig_get_attribute($this->env, $this->source, $context["query"], "index", [], "any", false, false, false, 227)) : ($context["i"])); // line 228 echo " env, $context["i"], "html", null, true); echo "-"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["loop"], "parent", [], "any", false, false, false, 228), "loop", [], "any", false, false, false, 228), "index", [], "any", false, false, false, 228), "html", null, true); echo "\"> "; // line 229 if ((isset($context["group_queries"]) || array_key_exists("group_queries", $context) ? $context["group_queries"] : (function () { throw new RuntimeError('Variable "group_queries" does not exist.', 229, $this->source); })())) { // line 230 echo " "; } else { // line 236 echo " "; } // line 239 echo " "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['i'], $context['query'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 273 echo "
env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 216), "html", null, true); echo "')\" data-sort-direction=\"1\" style=\"cursor: pointer;\">Time env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 217), "html", null, true); echo "')\" style=\"cursor: pointer;\">Countenv, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 219), "html", null, true); echo "')\" data-sort-direction=\"-1\" style=\"cursor: pointer;\"># env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 220), "html", null, true); echo "')\" style=\"cursor: pointer;\">TimeInfo
env, sprintf("%0.2f", twig_get_attribute($this->env, $this->source, $context["query"], "executionPercent", [], "any", false, false, false, 231)), "html", null, true); echo "%\"> "; // line 232 echo twig_escape_filter($this->env, sprintf("%0.2f", (twig_get_attribute($this->env, $this->source, $context["query"], "executionMS", [], "any", false, false, false, 232) * 1000)), "html", null, true); echo " ms
("; echo twig_escape_filter($this->env, sprintf("%0.2f", twig_get_attribute($this->env, $this->source, $context["query"], "executionPercent", [], "any", false, false, false, 232)), "html", null, true); echo "%)
"; // line 234 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["query"], "count", [], "any", false, false, false, 234), "html", null, true); echo ""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 236), "html", null, true); echo " "; // line 237 echo twig_escape_filter($this->env, sprintf("%0.2f", (twig_get_attribute($this->env, $this->source, $context["query"], "executionMS", [], "any", false, false, false, 237) * 1000)), "html", null, true); echo " ms "; // line 240 echo $this->extensions['Doctrine\Bundle\DoctrineBundle\Twig\DoctrineExtension']->formatQuery(twig_get_attribute($this->env, $this->source, $context["query"], "sql", [], "any", false, false, false, 240), true); echo "
Parameters: "; // line 243 echo twig_escape_filter($this->env, $this->extensions['Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension']->dumpValue(twig_get_attribute($this->env, $this->source, $context["query"], "params", [], "any", false, false, false, 243), 2), "html", null, true); echo "
source); })()) == 1)) ? ("onclick=\"return toggleRunnableQuery(this);\"") : ("")); echo " class=\"sf-toggle link-inverse\" data-toggle-selector=\"#formatted-query-"; echo twig_escape_filter($this->env, $context["i"], "html", null, true); echo "-"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["loop"], "parent", [], "any", false, false, false, 247), "loop", [], "any", false, false, false, 247), "index", [], "any", false, false, false, 247), "html", null, true); echo "\" data-toggle-alt-content=\"Hide formatted query\">View formatted query    source); })()) == 1)) ? ("onclick=\"return toggleRunnableQuery(this);\"") : ("")); echo " class=\"sf-toggle link-inverse\" data-toggle-selector=\"#original-query-"; echo twig_escape_filter($this->env, $context["i"], "html", null, true); echo "-"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["loop"], "parent", [], "any", false, false, false, 251), "loop", [], "any", false, false, false, 251), "index", [], "any", false, false, false, 251), "html", null, true); echo "\" data-toggle-alt-content=\"Hide runnable query\">View runnable query "; // line 253 if (twig_get_attribute($this->env, $this->source, $context["query"], "explainable", [], "any", false, false, false, 253)) { // line 254 echo "    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.', 255, $this->source); })()), "page" => "explain", "connection" => $context["connection"], "query" => $context["i"]]), "html", null, true); echo "\" onclick=\"return explain(this);\" data-target-id=\"explain-"; echo twig_escape_filter($this->env, $context["i"], "html", null, true); echo "-"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["loop"], "parent", [], "any", false, false, false, 255), "loop", [], "any", false, false, false, 255), "index", [], "any", false, false, false, 255), "html", null, true); echo "\">Explain query "; } // line 257 echo "
env, $context["i"], "html", null, true); echo "-"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["loop"], "parent", [], "any", false, false, false, 259), "loop", [], "any", false, false, false, 259), "index", [], "any", false, false, false, 259), "html", null, true); echo "\" class=\"sql-runnable hidden\"> "; // line 260 echo $this->extensions['Doctrine\Bundle\DoctrineBundle\Twig\DoctrineExtension']->formatQuery(twig_get_attribute($this->env, $this->source, $context["query"], "sql", [], "any", false, false, false, 260)); echo "
env, $context["i"], "html", null, true); echo "-"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["loop"], "parent", [], "any", false, false, false, 263), "loop", [], "any", false, false, false, 263), "index", [], "any", false, false, false, 263), "html", null, true); echo "\" class=\"sql-runnable hidden\"> "; // line 264 echo $this->extensions['Doctrine\Bundle\DoctrineBundle\Twig\DoctrineExtension']->formatQuery($this->extensions['Doctrine\Bundle\DoctrineBundle\Twig\DoctrineExtension']->replaceQueryParameters((twig_get_attribute($this->env, $this->source, $context["query"], "sql", [], "any", false, false, false, 264) . ";"), twig_get_attribute($this->env, $this->source, $context["query"], "params", [], "any", false, false, false, 264)), true); echo "
"; // line 267 if (twig_get_attribute($this->env, $this->source, $context["query"], "explainable", [], "any", false, false, false, 267)) { // line 268 echo "
env, $context["i"], "html", null, true); echo "-"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["loop"], "parent", [], "any", false, false, false, 268), "loop", [], "any", false, false, false, 268), "index", [], "any", false, false, false, 268), "html", null, true); echo "\" class=\"sql-explain\">
"; } // line 270 echo "
"; } // line 276 echo " "; ++$context['loop']['index0']; ++$context['loop']['index']; $context['loop']['first'] = false; if (isset($context['loop']['length'])) { --$context['loop']['revindex0']; --$context['loop']['revindex']; $context['loop']['last'] = 0 === $context['loop']['revindex0']; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['connection'], $context['queries'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 277 echo "

Database Connections

"; // line 280 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.', 280, $this->source); })()), "connections", [], "any", false, false, false, 280)) { // line 281 echo "

There are no configured database connections.

"; } else { // line 285 echo " "; 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.', 285, $this->source); })()), "connections", [], "any", false, false, false, 285)], 285, $context, $this->getSourceContext()); echo " "; } // line 287 echo "

Entity Managers

"; // line 290 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.', 290, $this->source); })()), "managers", [], "any", false, false, false, 290)) { // line 291 echo "

There are no configured entity managers.

"; } else { // line 295 echo " "; 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.', 295, $this->source); })()), "managers", [], "any", false, false, false, 295)], 295, $context, $this->getSourceContext()); echo " "; } // line 297 echo "

Second Level Cache

"; // line 300 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.', 300, $this->source); })()), "cacheEnabled", [], "any", false, false, false, 300)) { // line 301 echo "

Second Level Cache is not enabled.

"; } else { // line 305 echo " "; 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.', 305, $this->source); })()), "cacheCounts", [], "any", false, false, false, 305)) { // line 306 echo "

Second level cache information is not available.

"; } else { // line 310 echo " "; 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.', 310, $this->source); })()) == 1)) { // line 311 echo " "; echo twig_call_macro($macros["helper"], "macro_render_simple_table", ["Key", "Value", 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.', 311, $this->source); })()), "cacheCounts", [], "any", false, false, false, 311)], 311, $context, $this->getSourceContext()); echo " "; } else { // line 313 echo "
"; // line 315 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 315, $this->source); })()), "cacheCounts", [], "any", false, false, false, 315), "hits", [], "any", false, false, false, 315), "html", null, true); echo " Hits
"; // line 320 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 320, $this->source); })()), "cacheCounts", [], "any", false, false, false, 320), "misses", [], "any", false, false, false, 320), "html", null, true); echo " Misses
"; // line 325 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, 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.', 325, $this->source); })()), "cacheCounts", [], "any", false, false, false, 325), "puts", [], "any", false, false, false, 325), "html", null, true); echo " Puts
"; } // line 330 echo " "; // line 331 if (twig_get_attribute($this->env, $this->source, 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.', 331, $this->source); })()), "cacheRegions", [], "any", false, false, false, 331), "hits", [], "any", false, false, false, 331)) { // line 332 echo "

Number of cache hits

"; // line 333 echo twig_call_macro($macros["helper"], "macro_render_simple_table", ["Region", "Hits", twig_get_attribute($this->env, $this->source, 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.', 333, $this->source); })()), "cacheRegions", [], "any", false, false, false, 333), "hits", [], "any", false, false, false, 333)], 333, $context, $this->getSourceContext()); echo " "; } // line 335 echo " "; // line 336 if (twig_get_attribute($this->env, $this->source, 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.', 336, $this->source); })()), "cacheRegions", [], "any", false, false, false, 336), "misses", [], "any", false, false, false, 336)) { // line 337 echo "

Number of cache misses

"; // line 338 echo twig_call_macro($macros["helper"], "macro_render_simple_table", ["Region", "Misses", twig_get_attribute($this->env, $this->source, 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.', 338, $this->source); })()), "cacheRegions", [], "any", false, false, false, 338), "misses", [], "any", false, false, false, 338)], 338, $context, $this->getSourceContext()); echo " "; } // line 340 echo " "; // line 341 if (twig_get_attribute($this->env, $this->source, 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); })()), "cacheRegions", [], "any", false, false, false, 341), "puts", [], "any", false, false, false, 341)) { // line 342 echo "

Number of cache puts

"; // line 343 echo twig_call_macro($macros["helper"], "macro_render_simple_table", ["Region", "Puts", twig_get_attribute($this->env, $this->source, 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.', 343, $this->source); })()), "cacheRegions", [], "any", false, false, false, 343), "puts", [], "any", false, false, false, 343)], 343, $context, $this->getSourceContext()); echo " "; } // line 345 echo " "; } // line 346 echo " "; } // line 347 echo "

Entities Mapping

"; // line 350 $context['_parent'] = $context; $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.', 350, $this->source); })()), "entities", [], "any", false, false, false, 350)); foreach ($context['_seq'] as $context["manager"] => $context["classes"]) { // line 351 echo " "; if ((twig_length_filter($this->env, 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.', 351, $this->source); })()), "managers", [], "any", false, false, false, 351)) > 1)) { // line 352 echo "

"; echo twig_escape_filter($this->env, $context["manager"], "html", null, true); echo " entity manager

"; } // line 354 echo " "; // line 355 if (twig_test_empty($context["classes"])) { // line 356 echo "

No loaded entities.

"; } else { // line 360 echo " "; // line 368 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable($context["classes"]); foreach ($context['_seq'] as $context["_key"] => $context["class"]) { // line 369 echo " "; $context["contains_errors"] = (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "mappingErrors", [], "any", false, true, false, 369), $context["manager"], [], "array", true, true, false, 369) && twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "mappingErrors", [], "any", false, true, false, 369), $context["manager"], [], "array", false, true, false, 369), $context["class"], [], "array", true, true, false, 369)); // line 370 echo " source); })())) ? ("status-error") : ("")); echo "\"> "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['class'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 385 echo "
Class Mapping errors
"; // line 371 echo twig_escape_filter($this->env, $context["class"], "html", null, true); echo " "; // line 373 if ((isset($context["contains_errors"]) || array_key_exists("contains_errors", $context) ? $context["contains_errors"] : (function () { throw new RuntimeError('Variable "contains_errors" does not exist.', 373, $this->source); })())) { // line 374 echo "
    "; // line 375 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, 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.', 375, $this->source); })()), "mappingErrors", [], "any", false, false, false, 375), $context["manager"], [], "array", false, false, false, 375), $context["class"], [], "array", false, false, false, 375)); foreach ($context['_seq'] as $context["_key"] => $context["error"]) { // line 376 echo "
  • "; echo twig_escape_filter($this->env, $context["error"], "html", null, true); echo "
  • "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['error'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 378 echo "
"; } else { // line 380 echo " No errors. "; } // line 382 echo "
"; } // line 388 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['manager'], $context['classes'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 389 echo " "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 469 public function macro_render_simple_table($__label1__ = null, $__label2__ = null, $__data__ = null, ...$__varargs__) { $macros = $this->macros; $context = $this->env->mergeGlobals([ "label1" => $__label1__, "label2" => $__label2__, "data" => $__data__, "varargs" => $__varargs__, ]); $blocks = []; ob_start(); try { $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "render_simple_table")); // line 470 echo " "; // line 478 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["data"]) || array_key_exists("data", $context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.', 478, $this->source); })())); foreach ($context['_seq'] as $context["key"] => $context["value"]) { // line 479 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['key'], $context['value'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 484 echo "
"; // line 473 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.', 473, $this->source); })()), "html", null, true); echo " "; // line 474 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.', 474, $this->source); })()), "html", null, true); echo "
"; // line 480 echo twig_escape_filter($this->env, $context["key"], "html", null, true); echo " "; // line 481 echo twig_escape_filter($this->env, $context["value"], "html", null, true); echo "
"; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset()); } finally { ob_end_clean(); } } public function getTemplateName() { return "@Doctrine/Collector/db.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 1129 => 484, 1120 => 481, 1116 => 480, 1113 => 479, 1109 => 478, 1102 => 474, 1098 => 473, 1093 => 470, 1075 => 469, 1066 => 465, 1047 => 448, 1045 => 447, 985 => 389, 979 => 388, 974 => 385, 966 => 382, 962 => 380, 958 => 378, 949 => 376, 945 => 375, 942 => 374, 940 => 373, 935 => 371, 930 => 370, 927 => 369, 923 => 368, 913 => 360, 907 => 356, 905 => 355, 902 => 354, 896 => 352, 893 => 351, 889 => 350, 884 => 347, 881 => 346, 878 => 345, 873 => 343, 870 => 342, 868 => 341, 865 => 340, 860 => 338, 857 => 337, 855 => 336, 852 => 335, 847 => 333, 844 => 332, 842 => 331, 839 => 330, 831 => 325, 823 => 320, 815 => 315, 811 => 313, 805 => 311, 802 => 310, 796 => 306, 793 => 305, 787 => 301, 785 => 300, 780 => 297, 774 => 295, 768 => 291, 766 => 290, 761 => 287, 755 => 285, 749 => 281, 747 => 280, 742 => 277, 728 => 276, 723 => 273, 707 => 270, 699 => 268, 697 => 267, 691 => 264, 685 => 263, 679 => 260, 673 => 259, 669 => 257, 660 => 255, 657 => 254, 655 => 253, 646 => 251, 635 => 247, 628 => 243, 622 => 240, 619 => 239, 614 => 237, 609 => 236, 604 => 234, 597 => 232, 593 => 231, 590 => 230, 588 => 229, 581 => 228, 578 => 227, 561 => 226, 557 => 225, 552 => 222, 547 => 220, 542 => 219, 537 => 217, 532 => 216, 530 => 215, 525 => 212, 522 => 211, 519 => 210, 516 => 209, 510 => 205, 508 => 204, 505 => 203, 499 => 201, 496 => 200, 479 => 199, 476 => 198, 471 => 196, 468 => 195, 463 => 193, 460 => 192, 457 => 191, 455 => 190, 452 => 189, 448 => 187, 441 => 183, 434 => 179, 427 => 175, 424 => 174, 422 => 173, 415 => 169, 407 => 164, 399 => 159, 391 => 154, 385 => 150, 383 => 149, 375 => 143, 359 => 129, 357 => 128, 354 => 127, 347 => 126, 336 => 122, 332 => 120, 330 => 119, 329 => 118, 328 => 116, 326 => 115, 324 => 114, 321 => 113, 318 => 112, 311 => 111, 301 => 106, 295 => 103, 292 => 102, 290 => 101, 285 => 99, 279 => 98, 276 => 97, 268 => 92, 264 => 91, 257 => 86, 255 => 85, 252 => 84, 249 => 83, 242 => 82, 231 => 77, 228 => 76, 225 => 75, 218 => 70, 210 => 67, 201 => 63, 194 => 59, 190 => 57, 188 => 56, 181 => 54, 174 => 50, 165 => 46, 161 => 44, 159 => 43, 156 => 42, 153 => 41, 149 => 39, 142 => 35, 135 => 32, 128 => 29, 126 => 28, 121 => 26, 118 => 25, 116 => 24, 113 => 23, 109 => 21, 103 => 19, 100 => 18, 94 => 16, 92 => 15, 84 => 14, 80 => 12, 77 => 11, 75 => 10, 72 => 9, 70 => 8, 67 => 7, 64 => 6, 57 => 5, 50 => 1, 48 => 3, 38 => 1,); } public function getSourceContext() { return new Source("{% extends request.isXmlHttpRequest ? '@WebProfiler/Profiler/ajax_layout.html.twig' : '@WebProfiler/Profiler/layout.html.twig' %} {% import _self as helper %} {% block toolbar %} {% if collector.querycount > 0 or collector.invalidEntityCount > 0 %} {% set profiler_markup_version = profiler_markup_version|default(1) %} {% set icon %} {% if profiler_markup_version == 1 %} \"Database\" 50 %}sf-toolbar-status-yellow{% endif %}\">{{ collector.querycount }} {% if collector.querycount > 0 %} in {{ '%0.2f'|format(collector.time * 1000) }} ms {% endif %} {% if collector.invalidEntityCount > 0 %} {{ collector.invalidEntityCount }} {% endif %} {% else %} {% set status = collector.invalidEntityCount > 0 ? 'red' : collector.querycount > 50 ? 'yellow' %} {{ include('@Doctrine/Collector/icon.svg') }} {% if collector.querycount == 0 and collector.invalidEntityCount > 0 %} {{ collector.invalidEntityCount }} errors {% else %} {{ collector.querycount }} in {{ '%0.2f'|format(collector.time * 1000) }} ms {% endif %} {% endif %} {% endset %} {% set text %}
Database Queries 50 ? 'sf-toolbar-status-yellow' : '' }}\">{{ collector.querycount }}
Query time {{ '%0.2f'|format(collector.time * 1000) }} ms
Invalid entities 0 ? 'sf-toolbar-status-red' : '' }}\">{{ collector.invalidEntityCount }}
{% if collector.cacheEnabled %}
Cache hits {{ collector.cacheHitsCount }}
Cache misses 0 ? 'sf-toolbar-status-yellow' : '' }}\">{{ collector.cacheMissesCount }}
Cache puts 0 ? 'sf-toolbar-status-yellow' : '' }}\">{{ collector.cachePutsCount }}
{% else %}
Second Level Cache disabled
{% endif %} {% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, status: status|default('') }) }} {% endif %} {% endblock %} {% block menu %} {% set profiler_markup_version = profiler_markup_version|default(1) %} {% if profiler_markup_version == 1 %} \"\" Doctrine {{ collector.querycount }} {{ '%0.0f'|format(collector.time * 1000) }} ms {% else %} 0 ? 'label-status-error' }} {{ collector.querycount == 0 ? 'disabled' }}\"> {{ include('@Doctrine/Collector/icon.svg') }} Doctrine {% if collector.invalidEntityCount %} {{ collector.invalidEntityCount }} {% endif %} {% endif %} {% endblock %} {% block panel %} {% set profiler_markup_version = profiler_markup_version|default(1) %} {% if 'explain' == page %} {{ render(controller('DoctrineBundle:Profiler:explain', { token: token, panel: 'db', connectionName: request.query.get('connection'), query: request.query.get('query') })) }} {% else %} {{ block('queries') }} {% endif %} {% endblock %} {% block queries %} {% if profiler_markup_version > 1 %}

Query Metrics

{{ collector.querycount }} Database Queries
{{ collector.groupedQueryCount }} Different statements
{{ '%0.2f'|format(collector.time * 1000) }} ms Query time
{{ collector.invalidEntityCount }} Invalid entities
{% if collector.cacheEnabled %}
\t{{ collector.cacheHitsCount }} \tCache hits
\t{{ collector.cacheMissesCount }} \tCache misses
\t{{ collector.cachePutsCount }} \tCache puts
{% endif %}
{% endif %} {% set group_queries = request.query.getBoolean('group') %} {% if group_queries %}

Grouped Statements

Show all queries

{% else %}

Queries

Group similar statements

{% endif %} {% for connection, queries in collector.queries %} {% if collector.connections|length > 1 %}

{{ connection }} connection

{% endif %} {% if queries is empty %}

No database queries were performed.

{% else %} {% if group_queries %} {% set queries = collector.groupedQueries[connection] %} {% endif %} {% if group_queries %} {% else %} {% endif %} {% for i, query in queries %} {% set i = group_queries ? query.index : i %} {% if group_queries %} {% else %} {% endif %} {% endfor %}
Time Count# TimeInfo
{{ '%0.2f'|format(query.executionMS * 1000) }} ms
({{ '%0.2f'|format(query.executionPercent) }}%)
{{ query.count }}{{ loop.index }} {{ '%0.2f'|format(query.executionMS * 1000) }} ms {{ query.sql|doctrine_pretty_query(highlight_only = true) }}
Parameters: {{ profiler_dump(query.params, 2) }}
View formatted query    View runnable query {% if query.explainable %}    Explain query {% endif %}
{{ query.sql|doctrine_pretty_query }}
{{ (query.sql ~ ';')|doctrine_replace_query_parameters(query.params)|doctrine_pretty_query(highlight_only = true) }}
{% if query.explainable %}
{% endif %}
{% endif %} {% endfor %}

Database Connections

{% if not collector.connections %}

There are no configured database connections.

{% else %} {{ helper.render_simple_table('Name', 'Service', collector.connections) }} {% endif %}

Entity Managers

{% if not collector.managers %}

There are no configured entity managers.

{% else %} {{ helper.render_simple_table('Name', 'Service', collector.managers) }} {% endif %}

Second Level Cache

{% if not collector.cacheEnabled %}

Second Level Cache is not enabled.

{% else %} {% if not collector.cacheCounts %}

Second level cache information is not available.

{% else %} {% if profiler_markup_version == 1 %} {{ helper.render_simple_table('Key', 'Value', collector.cacheCounts) }} {% else %}
{{ collector.cacheCounts.hits }} Hits
{{ collector.cacheCounts.misses }} Misses
{{ collector.cacheCounts.puts }} Puts
{% endif %} {% if collector.cacheRegions.hits %}

Number of cache hits

{{ helper.render_simple_table('Region', 'Hits', collector.cacheRegions.hits) }} {% endif %} {% if collector.cacheRegions.misses %}

Number of cache misses

{{ helper.render_simple_table('Region', 'Misses', collector.cacheRegions.misses) }} {% endif %} {% if collector.cacheRegions.puts %}

Number of cache puts

{{ helper.render_simple_table('Region', 'Puts', collector.cacheRegions.puts) }} {% endif %} {% endif %} {% endif %}

Entities Mapping

{% for manager, classes in collector.entities %} {% if collector.managers|length > 1 %}

{{ manager }} entity manager

{% endif %} {% if classes is empty %}

No loaded entities.

{% else %} {% for class in classes %} {% set contains_errors = collector.mappingErrors[manager] is defined and collector.mappingErrors[manager][class] is defined %} {% endfor %}
Class Mapping errors
{{ class }} {% if contains_errors %}
    {% for error in collector.mappingErrors[manager][class] %}
  • {{ error }}
  • {% endfor %}
{% else %} No errors. {% endif %}
{% endif %} {% endfor %} {% endblock %} {% macro render_simple_table(label1, label2, data) %} {% for key, value in data %} {% endfor %}
{{ label1 }} {{ label2 }}
{{ key }} {{ value }}
{% endmacro %} ", "@Doctrine/Collector/db.html.twig", "/Users/kadmin/Websites/sterntours-3/vendor/doctrine/doctrine-bundle/Resources/views/Collector/db.html.twig"); } }