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_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"]; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@Swiftmailer/Collector/swiftmailer.html.twig")); $this->parent = $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig", "@Swiftmailer/Collector/swiftmailer.html.twig", 1); $this->parent->display($context, array_merge($this->blocks, $blocks)); $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 3 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 4 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.', 4, $this->source); })()), 1)) : (1)); // line 5 echo " "; // line 6 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); })()), "messageCount", [], "any", false, false, false, 6)) { // line 7 echo " "; ob_start(); // line 8 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.', 8, $this->source); })()) == 1)) { // line 9 echo " \"Swiftmailer\" "; // line 10 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.', 10, $this->source); })()), "messageCount", [], "any", false, false, false, 10), "html", null, true); echo " "; } else { // line 12 echo " "; echo twig_include($this->env, $context, "@Swiftmailer/Collector/icon.svg"); echo " "; // line 13 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.', 13, $this->source); })()), "messageCount", [], "any", false, false, false, 13), "html", null, true); echo " "; } // line 15 echo " "; $context["icon"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 16 echo " "; // line 17 ob_start(); // line 18 echo "
Sent messages "; // line 20 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.', 20, $this->source); })()), "messageCount", [], "any", false, false, false, 20), "html", null, true); echo "
"; // line 23 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.', 23, $this->source); })()) == 1)) { // line 24 echo " "; $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.', 24, $this->source); })()), "mailers", [], "any", false, false, false, 24)); $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["_key"] => $context["name"]) { // line 25 echo "
"; // line 26 echo twig_escape_filter($this->env, $context["name"], "html", null, true); echo " "; // line 27 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.', 27, $this->source); })()), "messageCount", [0 => $context["name"]], "method", false, false, false, 27), "html", null, true); echo "
Is spooled? "; // line 31 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.', 31, $this->source); })()), "isSpool", [0 => $context["name"]], "method", false, false, false, 31)) ? ("yes") : ("no")); echo "
"; // line 34 if ( !twig_get_attribute($this->env, $this->source, $context["loop"], "first", [], "any", false, false, false, 34)) { // line 35 echo "
"; } // line 37 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['_key'], $context['name'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 38 echo " "; } else { // line 39 echo " "; $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.', 39, $this->source); })()), "mailers", [], "any", false, false, false, 39)); foreach ($context['_seq'] as $context["_key"] => $context["name"]) { // line 40 echo "
"; // line 41 echo twig_escape_filter($this->env, $context["name"], "html", null, true); echo " mailer "; // line 42 echo twig_escape_filter($this->env, ((twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "messageCount", [0 => $context["name"]], "method", true, true, false, 42)) ? (_twig_default_filter(twig_get_attribute($this->env, $this->source, ($context["collector"] ?? null), "messageCount", [0 => $context["name"]], "method", false, false, false, 42), 0)) : (0)), "html", null, true); echo "   ("; // line 43 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.', 43, $this->source); })()), "isSpool", [0 => $context["name"]], "method", false, false, false, 43)) ? ("spooled") : ("sent")); echo ")
"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['name'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 46 echo " "; } // line 47 echo " "; $context["text"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset()); // line 48 echo " "; // line 49 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.', 49, $this->source); })())]); echo " "; } $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 53 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 54 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.', 54, $this->source); })()), 1)) : (1)); // line 55 echo " 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); })()), "messageCount", [], "any", false, false, false, 56)) ? ("") : ("disabled")); echo "\"> "; // line 57 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.', 57, $this->source); })()) == 1)) { // line 58 echo " \"Swiftmailer\" "; } else { // line 60 echo " "; echo twig_include($this->env, $context, "@Swiftmailer/Collector/icon.svg"); echo " "; } // line 62 echo " E-Mails "; // line 64 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.', 64, $this->source); })()), "messageCount", [], "any", false, false, false, 64) > 0)) { // line 65 echo " "; // line 66 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.', 66, $this->source); })()), "messageCount", [], "any", false, false, false, 66), "html", null, true); echo " "; } // line 69 echo " "; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } // line 72 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 73 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.', 73, $this->source); })()), 1)) : (1)); // line 74 echo " "; // line 75 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.', 75, $this->source); })()) == 1)) { // line 76 echo " "; } // line 86 echo "

E-mails

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

No e-mail messages were sent.

"; } // line 94 echo " "; // line 95 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.', 95, $this->source); })()) == 1) || (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.', 95, $this->source); })()), "mailers", [], "any", false, false, false, 95)) > 1))) { // line 96 echo " "; // line 106 $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.', 106, $this->source); })()), "mailers", [], "any", false, false, false, 106)); foreach ($context['_seq'] as $context["_key"] => $context["name"]) { // line 107 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['name'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 114 echo "
Mailer Name Num. of messages Messages status Notes
"; // line 108 echo twig_escape_filter($this->env, $context["name"], "html", null, true); echo " "; // line 109 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.', 109, $this->source); })()), "messageCount", [0 => $context["name"]], "method", false, false, false, 109), "html", null, true); echo " "; // line 110 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.', 110, $this->source); })()), "isSpool", [0 => $context["name"]], "method", false, false, false, 110)) ? ("spooled") : ("sent")); echo " "; // line 111 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.', 111, $this->source); })()), "isDefaultMailer", [0 => $context["name"]], "method", false, false, false, 111)) ? ("This is the default mailer") : ("")); echo "
"; } else { // line 117 echo "
"; // line 118 $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.', 118, $this->source); })()), "mailers", [], "any", false, false, false, 118)); foreach ($context['_seq'] as $context["_key"] => $context["name"]) { // line 119 echo "
"; // line 120 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.', 120, $this->source); })()), "messageCount", [0 => $context["name"]], "method", false, false, false, 120), "html", null, true); echo " "; // line 121 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.', 121, $this->source); })()), "isSpool", [0 => $context["name"]], "method", false, false, false, 121)) ? ("spooled") : ("sent")); 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.', 121, $this->source); })()), "messageCount", [0 => $context["name"]], "method", false, false, false, 121) == 1)) ? ("message") : ("messages")); echo "
"; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['name'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 124 echo "
"; } // line 126 echo " "; // line 127 $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.', 127, $this->source); })()), "mailers", [], "any", false, false, false, 127)); foreach ($context['_seq'] as $context["_key"] => $context["name"]) { // line 128 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.', 128, $this->source); })()), "mailers", [], "any", false, false, false, 128)) > 1)) { // line 129 echo "

"; // line 130 echo twig_escape_filter($this->env, $context["name"], "html", null, true); echo " mailer "; // line 131 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.', 131, $this->source); })()), "isDefaultMailer", [0 => $context["name"]], "method", false, false, false, 131)) ? ("(default app mailer)") : ("")); echo "

"; } // line 134 echo " "; // line 135 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.', 135, $this->source); })()), "messages", [0 => $context["name"]], "method", false, false, false, 135)) { // line 136 echo "

No e-mail messages were sent.

"; } else { // line 140 echo " "; $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.', 140, $this->source); })()), "messages", [0 => $context["name"]], "method", false, false, false, 140)); $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["_key"] => $context["message"]) { // line 141 echo " "; if ((twig_get_attribute($this->env, $this->source, $context["loop"], "length", [], "any", false, false, false, 141) > 1)) { // line 142 echo "

E-mail #"; echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 142), "html", null, true); echo " details

"; } else { // line 144 echo "

E-mail details

"; } // line 146 echo "
Message headers
";
                    // line 150
                    $context['_parent'] = $context;
                    $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["message"], "headers", [], "any", false, false, false, 150), "all", [], "any", false, false, false, 150));
                    foreach ($context['_seq'] as $context["_key"] => $context["header"]) {
                        // line 151
                        echo twig_escape_filter($this->env, $context["header"], "html", null, true);
                    }
                    $_parent = $context['_parent'];
                    unset($context['_seq'], $context['_iterated'], $context['_key'], $context['header'], $context['_parent'], $context['loop']);
                    $context = array_intersect_key($context, $_parent) + $_parent;
                    // line 152
                    echo "
Message body
";
                    // line 158
                    if ((twig_get_attribute($this->env, $this->source, ($context["messagePart"] ?? null), "charset", [], "any", true, true, false, 158) && twig_get_attribute($this->env, $this->source, $context["message"], "charset", [], "any", false, false, false, 158))) {
                        // line 159
                        echo twig_escape_filter($this->env, twig_convert_encoding(twig_get_attribute($this->env, $this->source, $context["message"], "body", [], "any", false, false, false, 159), "UTF-8", twig_get_attribute($this->env, $this->source, $context["message"], "charset", [], "any", false, false, false, 159)), "html", null, true);
                    } else {
                        // line 161
                        echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["message"], "body", [], "any", false, false, false, 161), "html", null, true);
                    }
                    // line 163
                    echo "
"; // line 166 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["message"], "children", [], "any", false, false, false, 166)); foreach ($context['_seq'] as $context["_key"] => $context["messagePart"]) { if (twig_in_filter(twig_get_attribute($this->env, $this->source, $context["messagePart"], "contentType", [], "any", false, false, false, 166), [0 => "text/plain", 1 => "text/html"])) { // line 167 echo "
Alternative part ("; // line 168 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["messagePart"], "contentType", [], "any", false, false, false, 168), "html", null, true); echo ")
";
                            // line 170
                            if ((twig_get_attribute($this->env, $this->source, $context["messagePart"], "charset", [], "any", true, true, false, 170) && twig_get_attribute($this->env, $this->source, $context["messagePart"], "charset", [], "any", false, false, false, 170))) {
                                // line 171
                                echo twig_escape_filter($this->env, twig_convert_encoding(twig_get_attribute($this->env, $this->source, $context["messagePart"], "body", [], "any", false, false, false, 171), "UTF-8", twig_get_attribute($this->env, $this->source, $context["messagePart"], "charset", [], "any", false, false, false, 171)), "html", null, true);
                            } else {
                                // line 173
                                echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["messagePart"], "body", [], "any", false, false, false, 173), "html", null, true);
                            }
                            // line 175
                            echo "
"; } } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['messagePart'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 178 echo " "; // line 179 $context["attachments"] = 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); })()), "extractAttachments", [0 => $context["message"]], "method", false, false, false, 179); // line 180 echo " "; if ((isset($context["attachments"]) || array_key_exists("attachments", $context) ? $context["attachments"] : (function () { throw new RuntimeError('Variable "attachments" does not exist.', 180, $this->source); })())) { // line 181 echo "
"; // line 183 if ((twig_length_filter($this->env, (isset($context["attachments"]) || array_key_exists("attachments", $context) ? $context["attachments"] : (function () { throw new RuntimeError('Variable "attachments" does not exist.', 183, $this->source); })())) > 1)) { // line 184 echo " "; echo twig_escape_filter($this->env, twig_length_filter($this->env, (isset($context["attachments"]) || array_key_exists("attachments", $context) ? $context["attachments"] : (function () { throw new RuntimeError('Variable "attachments" does not exist.', 184, $this->source); })())), "html", null, true); echo " Attachments "; } else { // line 186 echo " 1 Attachment "; } // line 188 echo "
    "; // line 191 $context['_parent'] = $context; $context['_seq'] = twig_ensure_traversable((isset($context["attachments"]) || array_key_exists("attachments", $context) ? $context["attachments"] : (function () { throw new RuntimeError('Variable "attachments" does not exist.', 191, $this->source); })())); foreach ($context['_seq'] as $context["_key"] => $context["attachment"]) { // line 192 echo "
  1. Filename: "; // line 194 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["attachment"], "filename", [], "any", false, false, false, 194), "html", null, true); echo "
  2. "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['attachment'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 197 echo "
"; } // line 200 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['_key'], $context['message'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; // line 202 echo " "; } // line 203 echo " "; } $_parent = $context['_parent']; unset($context['_seq'], $context['_iterated'], $context['_key'], $context['name'], $context['_parent'], $context['loop']); $context = array_intersect_key($context, $_parent) + $_parent; $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof); } public function getTemplateName() { return "@Swiftmailer/Collector/swiftmailer.html.twig"; } public function isTraitable() { return false; } public function getDebugInfo() { return array ( 588 => 203, 585 => 202, 570 => 200, 565 => 197, 556 => 194, 552 => 192, 548 => 191, 543 => 188, 539 => 186, 533 => 184, 531 => 183, 527 => 181, 524 => 180, 522 => 179, 519 => 178, 510 => 175, 507 => 173, 504 => 171, 502 => 170, 498 => 168, 495 => 167, 490 => 166, 485 => 163, 482 => 161, 479 => 159, 477 => 158, 470 => 152, 464 => 151, 460 => 150, 454 => 146, 450 => 144, 444 => 142, 441 => 141, 423 => 140, 417 => 136, 415 => 135, 412 => 134, 406 => 131, 402 => 130, 399 => 129, 396 => 128, 392 => 127, 389 => 126, 385 => 124, 374 => 121, 370 => 120, 367 => 119, 363 => 118, 360 => 117, 355 => 114, 346 => 111, 342 => 110, 338 => 109, 334 => 108, 331 => 107, 327 => 106, 315 => 96, 313 => 95, 310 => 94, 304 => 90, 302 => 89, 297 => 86, 285 => 76, 283 => 75, 280 => 74, 277 => 73, 270 => 72, 262 => 69, 256 => 66, 253 => 65, 251 => 64, 247 => 62, 241 => 60, 237 => 58, 235 => 57, 231 => 56, 228 => 55, 225 => 54, 218 => 53, 208 => 49, 205 => 48, 202 => 47, 199 => 46, 190 => 43, 186 => 42, 182 => 41, 179 => 40, 174 => 39, 171 => 38, 157 => 37, 153 => 35, 151 => 34, 145 => 31, 138 => 27, 134 => 26, 131 => 25, 113 => 24, 111 => 23, 105 => 20, 101 => 18, 99 => 17, 96 => 16, 93 => 15, 88 => 13, 83 => 12, 78 => 10, 75 => 9, 72 => 8, 69 => 7, 67 => 6, 64 => 5, 61 => 4, 54 => 3, 37 => 1,); } public function getSourceContext() { return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %} {% block toolbar %} {% set profiler_markup_version = profiler_markup_version|default(1) %} {% if collector.messageCount %} {% set icon %} {% if profiler_markup_version == 1 %} \"Swiftmailer\" {{ collector.messageCount }} {% else %} {{ include('@Swiftmailer/Collector/icon.svg') }} {{ collector.messageCount }} {% endif %} {% endset %} {% set text %}
Sent messages {{ collector.messageCount }}
{% if profiler_markup_version == 1 %} {% for name in collector.mailers %}
{{ name }} {{ collector.messageCount(name) }}
Is spooled? {{ collector.isSpool(name) ? 'yes' : 'no' }}
{% if not loop.first %}
{% endif %} {% endfor %} {% else %} {% for name in collector.mailers %}
{{ name }} mailer {{ collector.messageCount(name)|default(0) }}   ({{ collector.isSpool(name) ? 'spooled' : 'sent' }})
{% endfor %} {% endif %} {% endset %} {{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { 'link': profiler_url }) }} {% endif %} {% endblock %} {% block menu %} {% set profiler_markup_version = profiler_markup_version|default(1) %} {% if profiler_markup_version == 1 %} \"Swiftmailer\" {% else %} {{ include('@Swiftmailer/Collector/icon.svg') }} {% endif %} E-Mails {% if collector.messageCount > 0 %} {{ collector.messageCount }} {% endif %} {% endblock %} {% block panel %} {% set profiler_markup_version = profiler_markup_version|default(1) %} {% if profiler_markup_version == 1 %} {% endif %}

E-mails

{% if not collector.mailers %}

No e-mail messages were sent.

{% endif %} {% if profiler_markup_version == 1 or collector.mailers|length > 1 %} {% for name in collector.mailers %} {% endfor %}
Mailer Name Num. of messages Messages status Notes
{{ name }} {{ collector.messageCount(name) }} {{ collector.isSpool(name) ? 'spooled' : 'sent' }} {{ collector.isDefaultMailer(name) ? 'This is the default mailer' }}
{% else %}
{% for name in collector.mailers %}
{{ collector.messageCount(name) }} {{ collector.isSpool(name) ? 'spooled' : 'sent' }} {{ collector.messageCount(name) == 1 ? 'message' : 'messages' }}
{% endfor %}
{% endif %} {% for name in collector.mailers %} {% if collector.mailers|length > 1 %}

{{ name }} mailer {{ collector.isDefaultMailer(name) ? '(default app mailer)' }}

{% endif %} {% if not collector.messages(name) %}

No e-mail messages were sent.

{% else %} {% for message in collector.messages(name) %} {% if loop.length > 1 %}

E-mail #{{ loop.index }} details

{% else %}

E-mail details

{% endif %}
Message headers
{% for header in message.headers.all %}
                            {{- header -}}
                        {% endfor %}
Message body
                            {%- if messagePart.charset is defined and message.charset %}
                                {{- message.body|convert_encoding('UTF-8', message.charset) }}
                            {%- else %}
                                {{- message.body }}
                            {%- endif -%}
                        
{% for messagePart in message.children if messagePart.contentType in ['text/plain', 'text/html'] %}
Alternative part ({{ messagePart.contentType }})
                                {%- if messagePart.charset is defined and messagePart.charset %}
                                    {{- messagePart.body|convert_encoding('UTF-8', messagePart.charset) }}
                                {%- else %}
                                    {{- messagePart.body }}
                                {%- endif -%}
                            
{% endfor %} {% set attachments = collector.extractAttachments(message) %} {% if attachments %}
{% if attachments|length > 1 %} {{ attachments|length }} Attachments {% else %} 1 Attachment {% endif %}
    {% for attachment in attachments %}
  1. Filename: {{ attachment.filename }}
  2. {% endfor %}
{% endif %}
{% endfor %} {% endif %} {% endfor %} {% endblock %} ", "@Swiftmailer/Collector/swiftmailer.html.twig", "/Users/kadmin/Websites/sterntours-3/vendor/symfony/swiftmailer-bundle/Resources/views/Collector/swiftmailer.html.twig"); } }