var/cache/dev/twig/8f/8f5a87583f4375a7d198668b776ae759.php line 46

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* layouts/layout/favicons.html.twig */
  14. class __TwigTemplate_85a4f54dc932a4d81935a16459d7dfcc extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.             'favicon' => [$this'block_favicon'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doDisplay(array $context, array $blocks = [])
  30.     {
  31.         $macros $this->macros;
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  33.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layouts/layout/favicons.html.twig"));
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  35.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""layouts/layout/favicons.html.twig"));
  36.         // line 1
  37.         $this->displayBlock('favicon'$context$blocks);
  38.         
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  40.         
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  42.     }
  43.     public function block_favicon($context, array $blocks = [])
  44.     {
  45.         $macros $this->macros;
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""favicon"));
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""favicon"));
  50.         // line 2
  51.         echo "    ";
  52.         $context["siteTitle"] = "MySiteTitle";
  53.         // line 3
  54.         echo "    ";
  55.         $context["msapplicationTileColor"] = "#FFF";
  56.         // line 4
  57.         echo "    ";
  58.         $context["themeColor"] = "#FFF";
  59.         // line 5
  60.         echo "    ";
  61.         $context["titleBarColor"] = "#FFF";
  62.         // line 6
  63.         echo "
  64.     ";
  65.         // line 7
  66.         echo $this->extensions['App\Twig\Extension\WebsiteExtension']->generateFavicon($this->sandbox->ensureToStringAllowed((isset($context["siteTitle"]) || array_key_exists("siteTitle"$context) ? $context["siteTitle"] : (function () { throw new RuntimeError('Variable "siteTitle" does not exist.'7$this->source); })()), 7$this->source), $this->sandbox->ensureToStringAllowed((isset($context["msapplicationTileColor"]) || array_key_exists("msapplicationTileColor"$context) ? $context["msapplicationTileColor"] : (function () { throw new RuntimeError('Variable "msapplicationTileColor" does not exist.'7$this->source); })()), 7$this->source), $this->sandbox->ensureToStringAllowed((isset($context["themeColor"]) || array_key_exists("themeColor"$context) ? $context["themeColor"] : (function () { throw new RuntimeError('Variable "themeColor" does not exist.'7$this->source); })()), 7$this->source), $this->sandbox->ensureToStringAllowed((isset($context["titleBarColor"]) || array_key_exists("titleBarColor"$context) ? $context["titleBarColor"] : (function () { throw new RuntimeError('Variable "titleBarColor" does not exist.'7$this->source); })()), 7$this->source));
  67.         echo "
  68. ";
  69.         
  70.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  71.         
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  73.     }
  74.     public function getTemplateName()
  75.     {
  76.         return "layouts/layout/favicons.html.twig";
  77.     }
  78.     public function getDebugInfo()
  79.     {
  80.         return array (  80 => 7,  77 => 6,  74 => 5,  71 => 4,  68 => 3,  65 => 2,  46 => 1,);
  81.     }
  82.     public function getSourceContext()
  83.     {
  84.         return new Source("{% block favicon %}
  85.     {% set siteTitle = 'MySiteTitle' %}
  86.     {% set msapplicationTileColor = '#FFF' %}
  87.     {% set themeColor = '#FFF' %}
  88.     {% set titleBarColor = '#FFF' %}
  89.     {{ set_favicon(siteTitle, msapplicationTileColor, themeColor, titleBarColor) }}
  90. {% endblock %}""layouts/layout/favicons.html.twig""/var/www/clients/client2/web45/web/pc/templates/layouts/layout/favicons.html.twig");
  91.     }
  92.     
  93.     public function checkSecurity()
  94.     {
  95.         static $tags = array("block" => 1"set" => 2);
  96.         static $filters = array();
  97.         static $functions = array("set_favicon" => 7);
  98.         try {
  99.             $this->sandbox->checkSecurity(
  100.                 ['block''set'],
  101.                 [],
  102.                 ['set_favicon']
  103.             );
  104.         } catch (SecurityError $e) {
  105.             $e->setSourceContext($this->source);
  106.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  107.                 $e->setTemplateLine($tags[$e->getTagName()]);
  108.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  109.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  110.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  111.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  112.             }
  113.             throw $e;
  114.         }
  115.     }
  116. }