181 lines
7.0 KiB
PHP
181 lines
7.0 KiB
PHP
<?php
|
|
|
|
use Twig\Environment;
|
|
use Twig\Error\LoaderError;
|
|
use Twig\Error\RuntimeError;
|
|
use Twig\Extension\SandboxExtension;
|
|
use Twig\Markup;
|
|
use Twig\Sandbox\SecurityError;
|
|
use Twig\Sandbox\SecurityNotAllowedTagError;
|
|
use Twig\Sandbox\SecurityNotAllowedFilterError;
|
|
use Twig\Sandbox\SecurityNotAllowedFunctionError;
|
|
use Twig\Source;
|
|
use Twig\Template;
|
|
|
|
/* @email/zurb_2/notification/body.txt.twig */
|
|
class __TwigTemplate_b79ee60f54a33b593a1bd5bd7689bcb1 extends Template
|
|
{
|
|
private $source;
|
|
private $macros = [];
|
|
|
|
public function __construct(Environment $env)
|
|
{
|
|
parent::__construct($env);
|
|
|
|
$this->source = $this->getSourceContext();
|
|
|
|
$this->parent = false;
|
|
|
|
$this->blocks = [
|
|
'lead' => [$this, 'block_lead'],
|
|
'content' => [$this, 'block_content'],
|
|
'action' => [$this, 'block_action'],
|
|
'exception' => [$this, 'block_exception'],
|
|
];
|
|
}
|
|
|
|
protected function doDisplay(array $context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "@email/zurb_2/notification/body.txt.twig"));
|
|
|
|
// line 1
|
|
$this->displayBlock('lead', $context, $blocks);
|
|
// line 4
|
|
echo "
|
|
";
|
|
// line 5
|
|
$this->displayBlock('content', $context, $blocks);
|
|
// line 8
|
|
echo "
|
|
";
|
|
// line 9
|
|
$this->displayBlock('action', $context, $blocks);
|
|
// line 14
|
|
echo "
|
|
";
|
|
// line 15
|
|
$this->displayBlock('exception', $context, $blocks);
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
|
|
|
}
|
|
|
|
// line 1
|
|
public function block_lead($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "lead"));
|
|
|
|
// line 2
|
|
echo twig_get_attribute($this->env, $this->source, (isset($context["email"]) || array_key_exists("email", $context) ? $context["email"] : (function () { throw new RuntimeError('Variable "email" does not exist.', 2, $this->source); })()), "subject", [], "any", false, false, false, 2);
|
|
echo "
|
|
";
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
|
|
|
}
|
|
|
|
// line 5
|
|
public function block_content($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
|
|
|
|
// line 6
|
|
echo (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 6, $this->source); })());
|
|
echo "
|
|
";
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
|
|
|
}
|
|
|
|
// line 9
|
|
public function block_action($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "action"));
|
|
|
|
// line 10
|
|
if ((isset($context["action_url"]) || array_key_exists("action_url", $context) ? $context["action_url"] : (function () { throw new RuntimeError('Variable "action_url" does not exist.', 10, $this->source); })())) {
|
|
// line 11
|
|
echo (isset($context["action_text"]) || array_key_exists("action_text", $context) ? $context["action_text"] : (function () { throw new RuntimeError('Variable "action_text" does not exist.', 11, $this->source); })());
|
|
echo ": ";
|
|
echo (isset($context["action_url"]) || array_key_exists("action_url", $context) ? $context["action_url"] : (function () { throw new RuntimeError('Variable "action_url" does not exist.', 11, $this->source); })());
|
|
echo "
|
|
";
|
|
}
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
|
|
|
}
|
|
|
|
// line 15
|
|
public function block_exception($context, array $blocks = [])
|
|
{
|
|
$macros = $this->macros;
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "exception"));
|
|
|
|
// line 16
|
|
if ((isset($context["exception"]) || array_key_exists("exception", $context) ? $context["exception"] : (function () { throw new RuntimeError('Variable "exception" does not exist.', 16, $this->source); })())) {
|
|
// line 17
|
|
echo "Exception stack trace attached.
|
|
";
|
|
// line 18
|
|
echo (isset($context["exception"]) || array_key_exists("exception", $context) ? $context["exception"] : (function () { throw new RuntimeError('Variable "exception" does not exist.', 18, $this->source); })());
|
|
echo "
|
|
";
|
|
}
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
|
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function getTemplateName()
|
|
{
|
|
return "@email/zurb_2/notification/body.txt.twig";
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 131 => 18, 128 => 17, 126 => 16, 119 => 15, 107 => 11, 105 => 10, 98 => 9, 89 => 6, 82 => 5, 73 => 2, 66 => 1, 59 => 15, 56 => 14, 54 => 9, 51 => 8, 49 => 5, 46 => 4, 44 => 1,);
|
|
}
|
|
|
|
public function getSourceContext()
|
|
{
|
|
return new Source("{% block lead %}
|
|
{{ email.subject }}
|
|
{% endblock %}
|
|
|
|
{% block content %}
|
|
{{ content }}
|
|
{% endblock %}
|
|
|
|
{% block action %}
|
|
{% if action_url %}
|
|
{{ action_text }}: {{ action_url }}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block exception %}
|
|
{% if exception %}
|
|
Exception stack trace attached.
|
|
{{ exception }}
|
|
{% endif %}
|
|
{% endblock %}
|
|
", "@email/zurb_2/notification/body.txt.twig", "D:\\My Stuff\\DEVELOPMENT\\LaLiga\\LaLiga-BackEnd\\vendor\\symfony\\twig-bridge\\Resources\\views\\Email\\zurb_2\\notification\\body.txt.twig");
|
|
}
|
|
}
|