145 lines
4.9 KiB
PHP
145 lines
4.9 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;
|
|
|
|
/* notification/index.html.twig */
|
|
class __TwigTemplate_aadbb654fe735618050a66d1f780d525 extends Template
|
|
{
|
|
private $source;
|
|
private $macros = [];
|
|
|
|
public function __construct(Environment $env)
|
|
{
|
|
parent::__construct($env);
|
|
|
|
$this->source = $this->getSourceContext();
|
|
|
|
$this->blocks = [
|
|
'title' => [$this, 'block_title'],
|
|
'body' => [$this, 'block_body'],
|
|
];
|
|
}
|
|
|
|
protected function doGetParent(array $context)
|
|
{
|
|
// line 1
|
|
return "base.html.twig";
|
|
}
|
|
|
|
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", "notification/index.html.twig"));
|
|
|
|
$this->parent = $this->loadTemplate("base.html.twig", "notification/index.html.twig", 1);
|
|
$this->parent->display($context, array_merge($this->blocks, $blocks));
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
|
|
|
}
|
|
|
|
// line 3
|
|
public function block_title($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", "title"));
|
|
|
|
echo "Hello NotificationController!";
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
|
|
|
}
|
|
|
|
// line 5
|
|
public function block_body($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", "body"));
|
|
|
|
// line 6
|
|
echo "<style>
|
|
.example-wrapper { margin: 1em auto; max-width: 800px; width: 95%; font: 18px/1.5 sans-serif; }
|
|
.example-wrapper code { background: #F5F5F5; padding: 2px 6px; }
|
|
</style>
|
|
|
|
<div class=\"example-wrapper\">
|
|
<h1>Hello ";
|
|
// line 12
|
|
echo twig_escape_filter($this->env, (isset($context["controller_name"]) || array_key_exists("controller_name", $context) ? $context["controller_name"] : (function () { throw new RuntimeError('Variable "controller_name" does not exist.', 12, $this->source); })()), "html", null, true);
|
|
echo "! ✅</h1>
|
|
|
|
This friendly message is coming from:
|
|
<ul>
|
|
<li>Your controller at <code>D:/My Stuff/La Liga/src/Controller/NotificationController.php</code></li>
|
|
<li>Your template at <code>D:/My Stuff/La Liga/templates/notification/index.html.twig</code></li>
|
|
</ul>
|
|
</div>
|
|
";
|
|
|
|
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
|
|
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function getTemplateName()
|
|
{
|
|
return "notification/index.html.twig";
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function isTraitable()
|
|
{
|
|
return false;
|
|
}
|
|
|
|
/**
|
|
* @codeCoverageIgnore
|
|
*/
|
|
public function getDebugInfo()
|
|
{
|
|
return array ( 81 => 12, 73 => 6, 66 => 5, 53 => 3, 36 => 1,);
|
|
}
|
|
|
|
public function getSourceContext()
|
|
{
|
|
return new Source("{% extends 'base.html.twig' %}
|
|
|
|
{% block title %}Hello NotificationController!{% endblock %}
|
|
|
|
{% block body %}
|
|
<style>
|
|
.example-wrapper { margin: 1em auto; max-width: 800px; width: 95%; font: 18px/1.5 sans-serif; }
|
|
.example-wrapper code { background: #F5F5F5; padding: 2px 6px; }
|
|
</style>
|
|
|
|
<div class=\"example-wrapper\">
|
|
<h1>Hello {{ controller_name }}! ✅</h1>
|
|
|
|
This friendly message is coming from:
|
|
<ul>
|
|
<li>Your controller at <code>D:/My Stuff/La Liga/src/Controller/NotificationController.php</code></li>
|
|
<li>Your template at <code>D:/My Stuff/La Liga/templates/notification/index.html.twig</code></li>
|
|
</ul>
|
|
</div>
|
|
{% endblock %}
|
|
", "notification/index.html.twig", "D:\\My Stuff\\DEVELOPMENT\\LaLiga\\LaLiga-BackEnd\\templates\\notification\\index.html.twig");
|
|
}
|
|
}
|