source = $this->getSourceContext(); $this->blocks = [ 'toolbar' => [$this, 'block_toolbar'], 'menu' => [$this, 'block_menu'], 'panel' => [$this, 'block_panel'], ]; } protected function doGetParent(array $context) { // line 1 return "@WebProfiler/Profiler/layout.html.twig"; } protected function doDisplay(array $context, array $blocks = []) { $macros = $this->macros; $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"]; $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@DoctrineMigrations/Collector/migrations.html.twig")); // line 3 $macros["helper"] = $this->macros["helper"] = $this; // line 1 $this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@DoctrineMigrations/Collector/migrations.html.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof); } // line 5 public function block_toolbar($context, array $blocks = []) { $macros = $this->macros; $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"]; $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "toolbar")); // line 6 echo " "; if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, true, false, 6), "unavailable_migrations_count", [], "any", true, true, false, 6)) { // line 7 echo " "; $context["unavailable_migrations"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, false, false, 7), "unavailable_migrations_count", [], "any", false, false, false, 7); // line 8 echo " "; $context["new_migrations"] = twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, false, false, 8), "new_migrations", [], "any", false, false, false, 8)); // line 9 echo " "; if (((($context["unavailable_migrations"] ?? null) > 0) || (($context["new_migrations"] ?? null) > 0))) { // line 10 echo " "; $context["executed_migrations"] = twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, false, false, 10), "executed_migrations", [], "any", false, false, false, 10)); // line 11 echo " "; $context["available_migrations"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, false, false, 11), "available_migrations_count", [], "any", false, false, false, 11); // line 12 echo " "; $context["status_color"] = (((($context["unavailable_migrations"] ?? null) > 0)) ? ("yellow") : ("")); // line 13 echo " "; $context["status_color"] = (((($context["new_migrations"] ?? null) > 0)) ? ("red") : (($context["status_color"] ?? null))); // line 14 echo " "; // line 15 ob_start(function () { return ''; }); // line 16 echo " "; echo twig_include($this->env, $context, "@DoctrineMigrations/Collector/icon.svg"); echo " "; // line 17 echo twig_escape_filter($this->env, (($context["new_migrations"] ?? null) + ($context["unavailable_migrations"] ?? null)), "html", null, true); echo " "; $context["icon"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 19 echo " "; // line 20 ob_start(function () { return ''; }); // line 21 echo "
Current "; // line 23 (((($context["executed_migrations"] ?? null) > 0)) ? (print (twig_escape_filter($this->env, twig_last($this->env, twig_split_filter($this->env, twig_get_attribute($this->env, $this->source, twig_last($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, false, false, 23), "executed_migrations", [], "any", false, false, false, 23)), "version", [], "any", false, false, false, 23), "\\")), "html", null, true))) : (print ("n/a"))); echo "
Executed "; // line 27 echo twig_escape_filter($this->env, ($context["executed_migrations"] ?? null), "html", null, true); echo "
Executed Unavailable 0)) ? ("sf-toolbar-status-yellow") : ("")); echo "\">"; echo twig_escape_filter($this->env, ($context["unavailable_migrations"] ?? null), "html", null, true); echo "
Available "; // line 35 echo twig_escape_filter($this->env, ($context["available_migrations"] ?? null), "html", null, true); echo "
New 0)) ? ("sf-toolbar-status-red") : ("")); echo "\">"; echo twig_escape_filter($this->env, ($context["new_migrations"] ?? null), "html", null, true); echo "
"; $context["text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 42 echo " "; // line 43 echo twig_include($this->env, $context, "@WebProfiler/Profiler/toolbar_item.html.twig", ["link" => ($context["profiler_url"] ?? null), "status" => ($context["status_color"] ?? null)]); echo " "; } // line 45 echo " "; } $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof); } // line 49 public function block_menu($context, array $blocks = []) { $macros = $this->macros; $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"]; $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "menu")); // line 50 echo " "; if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, true, false, 50), "unavailable_migrations_count", [], "any", true, true, false, 50)) { // line 51 echo " "; $context["unavailable_migrations"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, false, false, 51), "unavailable_migrations_count", [], "any", false, false, false, 51); // line 52 echo " "; $context["new_migrations"] = twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, false, false, 52), "new_migrations", [], "any", false, false, false, 52)); // line 53 echo " "; $context["label"] = (((($context["unavailable_migrations"] ?? null) > 0)) ? ("label-status-warning") : ("")); // line 54 echo " "; $context["label"] = (((($context["new_migrations"] ?? null) > 0)) ? ("label-status-error") : (($context["label"] ?? null))); // line 55 echo " env, ($context["label"] ?? null), "html", null, true); echo "\"> "; // line 56 echo twig_include($this->env, $context, "@DoctrineMigrations/Collector/icon.svg"); echo " Migrations "; // line 58 if (((($context["unavailable_migrations"] ?? null) > 0) || (($context["new_migrations"] ?? null) > 0))) { // line 59 echo " "; // line 60 echo twig_escape_filter($this->env, (($context["new_migrations"] ?? null) + ($context["unavailable_migrations"] ?? null)), "html", null, true); echo " "; } // line 63 echo " "; } $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof); } // line 67 public function block_panel($context, array $blocks = []) { $macros = $this->macros; $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"]; $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "panel")); // line 68 echo "

Doctrine Migrations

"; // line 71 echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, false, false, 71), "executed_migrations", [], "any", false, false, false, 71)), "html", null, true); echo " Executed
"; // line 75 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, false, false, 75), "unavailable_migrations_count", [], "any", false, false, false, 75), "html", null, true); echo " Executed Unavailable
"; // line 79 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, false, false, 79), "available_migrations_count", [], "any", false, false, false, 79), "html", null, true); echo " Available
"; // line 83 echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, false, false, 83), "new_migrations", [], "any", false, false, false, 83)), "html", null, true); echo " New

Configuration

"; // line 99 if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, true, false, 99), "table", [], "any", true, true, false, 99)) { // line 100 echo " "; } // line 105 echo " "; if (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, true, false, 105), "column", [], "any", true, true, false, 105)) { // line 106 echo " "; } // line 111 echo "
Storage
Type "; // line 97 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, false, false, 97), "storage", [], "any", false, false, false, 97), "html", null, true); echo "
Table Name "; // line 102 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, false, false, 102), "table", [], "any", false, false, false, 102), "html", null, true); echo "
Column Name "; // line 108 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, false, false, 108), "column", [], "any", false, false, false, 108), "html", null, true); echo "
Database
Driver "; // line 120 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, false, false, 120), "driver", [], "any", false, false, false, 120), "html", null, true); echo "
Name "; // line 124 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, false, false, 124), "name", [], "any", false, false, false, 124), "html", null, true); echo "
"; // line 133 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, false, false, 133), "namespaces", [], "any", false, false, false, 133)); foreach ($context['_seq'] as $context["namespace"] => $context["directory"]) { // line 134 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['namespace'], $context['directory'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 139 echo "
Migration Namespaces
"; // line 135 echo twig_escape_filter($this->env, $context["namespace"], "html", null, true); echo " "; // line 136 echo twig_escape_filter($this->env, $context["directory"], "html", null, true); echo "

Migrations

"; // line 152 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, false, false, 152), "new_migrations", [], "any", false, false, false, 152)); foreach ($context['_seq'] as $context["_key"] => $context["migration"]) { // line 153 echo " "; echo twig_call_macro($macros["helper"], "macro_render_migration", [$context["migration"]], 153, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['migration'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 155 echo " "; // line 156 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_reverse_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "data", [], "any", false, false, false, 156), "executed_migrations", [], "any", false, false, false, 156))); foreach ($context['_seq'] as $context["_key"] => $context["migration"]) { // line 157 echo " "; echo twig_call_macro($macros["helper"], "macro_render_migration", [$context["migration"]], 157, $context, $this->getSourceContext()); echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['migration'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 159 echo "
Version Description Status Executed at Execution time
"; $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof); } // line 162 public function macro_render_migration($__migration__ = null, ...$__varargs__) { $macros = $this->macros; $context = $this->env->mergeGlobals([ "migration" => $__migration__, "varargs" => $__varargs__, ]); $blocks = []; ob_start(function () { return ''; }); try { $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d = $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"]; $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro", "render_migration")); // line 163 echo " "; // line 165 if (twig_get_attribute($this->env, $this->source, ($context["migration"] ?? null), "file", [], "any", false, false, false, 165)) { // line 166 echo " env, $this->extensions['Symfony\Bridge\Twig\Extension\CodeExtension']->getFileLink(twig_get_attribute($this->env, $this->source, ($context["migration"] ?? null), "file", [], "any", false, false, false, 166), 1), "html", null, true); echo "\" title=\""; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["migration"] ?? null), "file", [], "any", false, false, false, 166), "html", null, true); echo "\">"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["migration"] ?? null), "version", [], "any", false, false, false, 166), "html", null, true); echo " "; } else { // line 168 echo " "; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["migration"] ?? null), "version", [], "any", false, false, false, 168), "html", null, true); echo " "; } // line 170 echo " "; // line 171 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["migration"] ?? null), "description", [], "any", false, false, false, 171), "html", null, true); echo " "; // line 173 if (twig_get_attribute($this->env, $this->source, ($context["migration"] ?? null), "is_new", [], "any", false, false, false, 173)) { // line 174 echo " NOT EXECUTED "; } elseif (twig_get_attribute($this->env, $this->source, // line 175 ($context["migration"] ?? null), "is_unavailable", [], "any", false, false, false, 175)) { // line 176 echo " UNAVAILABLE "; } else { // line 178 echo " EXECUTED "; } // line 180 echo " "; // line 181 ((twig_get_attribute($this->env, $this->source, ($context["migration"] ?? null), "executed_at", [], "any", false, false, false, 181)) ? (print (twig_escape_filter($this->env, twig_date_format_filter($this->env, twig_get_attribute($this->env, $this->source, ($context["migration"] ?? null), "executed_at", [], "any", false, false, false, 181)), "html", null, true))) : (print ("n/a"))); echo " "; // line 182 echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["migration"] ?? null), "execution_time", [], "any", true, true, false, 182)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["migration"] ?? null), "execution_time", [], "any", false, false, false, 182), "n/a")) : ("n/a")), "html", null, true); echo " "; $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof); return ('' === $tmp = ob_get_contents()) ? '' : new Markup($tmp, $this->env->getCharset()); } finally { ob_end_clean(); } } public function getTemplateName() { return "@DoctrineMigrations/Collector/migrations.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 468 => 182, 464 => 181, 461 => 180, 457 => 178, 453 => 176, 451 => 175, 448 => 174, 446 => 173, 441 => 171, 438 => 170, 432 => 168, 422 => 166, 420 => 165, 416 => 163, 400 => 162, 392 => 159, 383 => 157, 379 => 156, 376 => 155, 367 => 153, 363 => 152, 348 => 139, 339 => 136, 335 => 135, 332 => 134, 328 => 133, 316 => 124, 309 => 120, 298 => 111, 292 => 108, 288 => 106, 285 => 105, 279 => 102, 275 => 100, 273 => 99, 268 => 97, 251 => 83, 244 => 79, 237 => 75, 230 => 71, 225 => 68, 218 => 67, 209 => 63, 203 => 60, 200 => 59, 198 => 58, 193 => 56, 188 => 55, 185 => 54, 182 => 53, 179 => 52, 176 => 51, 173 => 50, 166 => 49, 158 => 45, 153 => 43, 150 => 42, 142 => 39, 135 => 35, 126 => 31, 119 => 27, 112 => 23, 108 => 21, 106 => 20, 103 => 19, 98 => 17, 93 => 16, 91 => 15, 88 => 14, 85 => 13, 82 => 12, 79 => 11, 76 => 10, 73 => 9, 70 => 8, 67 => 7, 64 => 6, 57 => 5, 49 => 1, 47 => 3, 37 => 1,); } public function getSourceContext() { return new Source("", "@DoctrineMigrations/Collector/migrations.html.twig", "/var/www/html/vendor/doctrine/doctrine-migrations-bundle/Resources/views/Collector/migrations.html.twig"); } }