var/cache/dev/twig/9a/9a8a621a3bfde6c44e8e5339647a6827.php line 34

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* front/layout/header.html.twig */
  15. class __TwigTemplate_00bb4f9ce225274c1d52259ecab6870f extends Template
  16. {
  17. private $source;
  18. private $macros = [];
  19. public function __construct(Environment $env)
  20. {
  21. parent::__construct($env);
  22. $this->source = $this->getSourceContext();
  23. $this->parent = false;
  24. $this->blocks = [
  25. ];
  26. }
  27. protected function doDisplay(array $context, array $blocks = [])
  28. {
  29. $macros = $this->macros;
  30. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  31. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/layout/header.html.twig"));
  32. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  33. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/layout/header.html.twig"));
  34. // line 1
  35. yield "<header>
  36. <div class=\"top\">
  37. <div class=\"ctn\">
  38. <div class=\"question\">";
  39. // line 4
  40. yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("<strong>Une question, un conseil, un devis?</strong> <a href=\"tel:+33247733838\">02 47 73 38 38</a>", [], "messages");
  41. yield "</div>
  42. <a href=\"";
  43. // line 5
  44. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("contact_form");
  45. yield "\" class=\"bt-contact\"><img src=\"";
  46. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("img/bt-contact.svg"), "html", null, true);
  47. yield "\" alt=\"";
  48. yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Contactez-nous", [], "messages");
  49. yield "\" width=\"20\" height=\"20\"></a>
  50. ";
  51. // line 6
  52. yield from $this->loadTemplate("front/layout/languages.html.twig", "front/layout/header.html.twig", 6)->unwrap()->yield($context);
  53. // line 7
  54. yield " </div>
  55. </div>
  56. ";
  57. // line 9
  58. yield $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Front\\Modules\\MenuController::main", ["request" => CoreExtension::getAttribute($this->env, $this->source, // line 11
  59. (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 11, $this->source); })()), "request", [], "any", false, false, false, 11)]));
  60. // line 12
  61. yield "
  62. </header>
  63. ";
  64. // line 14
  65. yield from $this->loadTemplate("front/modules/text-slideshow/block.html.twig", "front/layout/header.html.twig", 14)->unwrap()->yield($context);
  66. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  67. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  68. return; yield '';
  69. }
  70. /**
  71. * @codeCoverageIgnore
  72. */
  73. public function getTemplateName()
  74. {
  75. return "front/layout/header.html.twig";
  76. }
  77. /**
  78. * @codeCoverageIgnore
  79. */
  80. public function isTraitable()
  81. {
  82. return false;
  83. }
  84. /**
  85. * @codeCoverageIgnore
  86. */
  87. public function getDebugInfo()
  88. {
  89. return array ( 74 => 14, 70 => 12, 68 => 11, 67 => 9, 63 => 7, 61 => 6, 53 => 5, 49 => 4, 44 => 1,);
  90. }
  91. public function getSourceContext()
  92. {
  93. return new Source("<header>
  94. <div class=\"top\">
  95. <div class=\"ctn\">
  96. <div class=\"question\">{% trans %}<strong>Une question, un conseil, un devis?</strong> <a href=\"tel:+33247733838\">02 47 73 38 38</a>{% endtrans %}</div>
  97. <a href=\"{{ path('contact_form') }}\" class=\"bt-contact\"><img src=\"{{ asset('img/bt-contact.svg') }}\" alt=\"{% trans %}Contactez-nous{% endtrans %}\" width=\"20\" height=\"20\"></a>
  98. {% include 'front/layout/languages.html.twig' %}
  99. </div>
  100. </div>
  101. {{ render(controller(
  102. 'App\\\\Controller\\\\Front\\\\Modules\\\\MenuController::main',
  103. { 'request': app.request }
  104. )) }}
  105. </header>
  106. {% include 'front/modules/text-slideshow/block.html.twig' %}", "front/layout/header.html.twig", "/var/www/dogcat.com/v2-test/templates/front/layout/header.html.twig");
  107. }
  108. }