var/cache/dev/twig/d3/d3b988fbfab7eb409fe6bf7fb3561f65.php line 33

  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. /* seo_metatag.html.twig */
  14. class __TwigTemplate_7b9183b1e953fd8b09e999d55a7bce3d 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.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros = $this->macros;
  29.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "seo_metatag.html.twig"));
  31.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "seo_metatag.html.twig"));
  33.         // line 2
  34.         echo "
  35. ";
  36.         // line 3
  37.         $context["pgsSec"] = "";
  38.         // line 4
  39.         if (array_key_exists("idPaginaSecondaria", $context)) {
  40.             // line 5
  41.             echo "    ";
  42.             $context["pgsSec"] = (isset($context["idPaginaSecondaria"]) || array_key_exists("idPaginaSecondaria", $context) ? $context["idPaginaSecondaria"] : (function () { throw new RuntimeError('Variable "idPaginaSecondaria" does not exist.', 5, $this->source); })());
  43.         }
  44.         // line 7
  45.         echo "
  46. ";
  47.         // line 8
  48.         echo twig_get_attribute($this->env, $this->source, (isset($context["servizi"]) || array_key_exists("servizi", $context) ? $context["servizi"] : (function () { throw new RuntimeError('Variable "servizi" does not exist.', 8, $this->source); })()), "ritornaSeoMetatags", [twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 8, $this->source); })()), "request", [], "any", false, false, false, 8), "get", ["_route"], "method", false, false, false, 8), $context, (isset($context["pgsSec"]) || array_key_exists("pgsSec", $context) ? $context["pgsSec"] : (function () { throw new RuntimeError('Variable "pgsSec" does not exist.', 8, $this->source); })())], "method", false, false, false, 8);
  49.         
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  51.         
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  53.     }
  54.     public function getTemplateName()
  55.     {
  56.         return "seo_metatag.html.twig";
  57.     }
  58.     public function isTraitable()
  59.     {
  60.         return false;
  61.     }
  62.     public function getDebugInfo()
  63.     {
  64.         return array (  57 => 8,  54 => 7,  50 => 5,  48 => 4,  46 => 3,  43 => 2,);
  65.     }
  66.     public function getSourceContext()
  67.     {
  68.         return new Source("{% trans_default_domain \"top_bar\" %}
  69. {% set pgsSec = '' %}
  70. {% if idPaginaSecondaria is defined %}
  71.     {% set pgsSec = idPaginaSecondaria %}
  72. {% endif %}
  73. {{ servizi.ritornaSeoMetatags(app.request.get('_route'), _context, pgsSec)|raw }}", "seo_metatag.html.twig", "/var/www/webshop_testindustria/templates/seo_metatag.html.twig");
  74.     }
  75. }