Deprecated: Return type of Google\Model::offsetExists($offset) should either be compatible with ArrayAccess::offsetExists(mixed $offset): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 256

Deprecated: Return type of Google\Model::offsetGet($offset) should either be compatible with ArrayAccess::offsetGet(mixed $offset): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 261

Deprecated: Return type of Google\Model::offsetSet($offset, $value) should either be compatible with ArrayAccess::offsetSet(mixed $offset, mixed $value): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 268

Deprecated: Return type of Google\Model::offsetUnset($offset) should either be compatible with ArrayAccess::offsetUnset(mixed $offset): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Model.php on line 278

Deprecated: Return type of Google\Collection::current() should either be compatible with Iterator::current(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 22

Deprecated: Return type of Google\Collection::next() should either be compatible with Iterator::next(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 38

Deprecated: Return type of Google\Collection::key() should either be compatible with Iterator::key(): mixed, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 30

Deprecated: Return type of Google\Collection::valid() should either be compatible with Iterator::valid(): bool, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 43

Deprecated: Return type of Google\Collection::rewind() should either be compatible with Iterator::rewind(): void, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 14

Deprecated: Return type of Google\Collection::count() should either be compatible with Countable::count(): int, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /var/www/html/sanralsmme/vendor/google/apiclient/src/Collection.php on line 49
Symfony Profiler

var/cache/dev/twig/70/70a8b3c468e1f21d7f5066447ad145b38fd7ce85655e76828c969faeee19019b.php line 51

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. /* frontend/content.html.twig */
  14. class __TwigTemplate_0dbfb4e1aa4c881d9bbe5817730f54558ea0aa62b7e099cf608cb8363a742124 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->blocks = [
  23.             'title' => [$this'block_title'],
  24.             'meta_decription' => [$this'block_meta_decription'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'layout' => [$this'block_layout'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/content.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""frontend/content.html.twig"));
  41.         $this->parent $this->loadTemplate("base.html.twig""frontend/content.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 2
  49.     public function block_title($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  56.         // line 3
  57.         echo "        ";
  58.         $context["metaTitle"] = twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'3$this->source); })()), "metaTitle", [], "any"falsefalsefalse3);
  59.         // line 4
  60.         echo "        ";
  61.         echo twig_escape_filter($this->env, (isset($context["metaTitle"]) || array_key_exists("metaTitle"$context) ? $context["metaTitle"] : (function () { throw new RuntimeError('Variable "metaTitle" does not exist.'4$this->source); })()), "html"nulltrue);
  62.         echo "
  63.     ";
  64.         
  65.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  66.         
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  68.     }
  69.     // line 6
  70.     public function block_meta_decription($context, array $blocks = [])
  71.     {
  72.         $macros $this->macros;
  73.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_decription"));
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  76.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta_decription"));
  77.         // line 7
  78.         echo "        ";
  79.         $context["metaTitle"] = twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'7$this->source); })()), "metaTitle", [], "any"falsefalsefalse7);
  80.         // line 8
  81.         echo "        ";
  82.         $context["metaDescription"] = twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'8$this->source); })()), "metaDescription", [], "any"falsefalsefalse8);
  83.         // line 9
  84.         echo "        <meta name=\"twitter:card\" content=\"summary\" />
  85.         <meta name=\"twitter:site\" content=\"Sanral\" />
  86.         <meta name=\"twitter:title\" content=\"";
  87.         // line 11
  88.         echo twig_escape_filter($this->env, (isset($context["metaTitle"]) || array_key_exists("metaTitle"$context) ? $context["metaTitle"] : (function () { throw new RuntimeError('Variable "metaTitle" does not exist.'11$this->source); })()), "html"nulltrue);
  89.         echo "\" />
  90.         <meta name=\"twitter:description\" content=\"";
  91.         // line 12
  92.         echo twig_escape_filter($this->env, (isset($context["metaDescription"]) || array_key_exists("metaDescription"$context) ? $context["metaDescription"] : (function () { throw new RuntimeError('Variable "metaDescription" does not exist.'12$this->source); })()), "html"nulltrue);
  93.         echo "\" />
  94. ";
  95.         // line 14
  96.         echo "        <meta name=\"twitter:url\" content=\"";
  97.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'14$this->source); })()), "request", [], "any"falsefalsefalse14), "uri", [], "any"falsefalsefalse14), "html"nulltrue);
  98.         echo "\" />
  99. ";
  100.         // line 17
  101.         echo "        <meta name=\"og:title\" content=\"";
  102.         echo twig_escape_filter($this->env, (isset($context["metaTitle"]) || array_key_exists("metaTitle"$context) ? $context["metaTitle"] : (function () { throw new RuntimeError('Variable "metaTitle" does not exist.'17$this->source); })()), "html"nulltrue);
  103.         echo "\" />
  104.         <meta name=\"og:description\" content=\"";
  105.         // line 18
  106.         echo twig_escape_filter($this->env, (isset($context["metaDescription"]) || array_key_exists("metaDescription"$context) ? $context["metaDescription"] : (function () { throw new RuntimeError('Variable "metaDescription" does not exist.'18$this->source); })()), "html"nulltrue);
  107.         echo "\" />
  108.         <meta name=\"og:url\" content=\"";
  109.         // line 19
  110.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_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.'19$this->source); })()), "request", [], "any"falsefalsefalse19), "uri", [], "any"falsefalsefalse19), "html"nulltrue);
  111.         echo "\" />
  112.         <meta name=\"description\" content=\"";
  113.         // line 20
  114.         echo twig_escape_filter($this->env, (isset($context["metaDescription"]) || array_key_exists("metaDescription"$context) ? $context["metaDescription"] : (function () { throw new RuntimeError('Variable "metaDescription" does not exist.'20$this->source); })()), "html"nulltrue);
  115.         echo "\">
  116.     ";
  117.         
  118.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  119.         
  120.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  121.     }
  122.     // line 22
  123.     public function block_stylesheets($context, array $blocks = [])
  124.     {
  125.         $macros $this->macros;
  126.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  127.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  128.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  129.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  130.         // line 23
  131.         echo "        ";
  132.         $this->displayParentBlock("stylesheets"$context$blocks);
  133.         echo "
  134.     ";
  135.         
  136.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  137.         
  138.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  139.     }
  140.     // line 26
  141.     public function block_layout($context, array $blocks = [])
  142.     {
  143.         $macros $this->macros;
  144.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  145.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout"));
  146.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  147.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""layout"));
  148.         // line 27
  149.         echo "        <div id=\"content-wrapper\" class=\"container-fluid\">
  150.             <div class=\"row no-gutters py-4\">
  151.                 <div class=\"col-md-9 px-3\">
  152.                     <div class=\"row\">
  153.                         <div class=\"col-12 pb-3\">
  154.                             <h1 class=\"display-4\" style=\"font-size: 30px;margin-top: 20px; margin-bottom: 20px; text-transform: capitalize\">
  155.                                 ";
  156.         // line 33
  157.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'33$this->source); })()), "title", [], "any"falsefalsefalse33), "html"nulltrue);
  158.         echo "
  159.                             </h1>
  160.                             ";
  161.         // line 35
  162.         echo twig_get_attribute($this->env$this->source, (isset($context["content"]) || array_key_exists("content"$context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.'35$this->source); })()), "copy", [], "any"falsefalsefalse35);
  163.         echo "
  164.                         </div>
  165.                     </div>
  166.                 </div>
  167.                 <div class=\"col-md-3\" style=\"margin-top: 18px\">
  168.                     ";
  169.         // line 40
  170.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\CarouselController::getCarousel", ["page" => "content"]));
  171.         // line 45
  172.         echo "
  173.                 </div>
  174.             </div>
  175.         </div>
  176.     ";
  177.         
  178.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  179.         
  180.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  181.     }
  182.     public function getTemplateName()
  183.     {
  184.         return "frontend/content.html.twig";
  185.     }
  186.     public function isTraitable()
  187.     {
  188.         return false;
  189.     }
  190.     public function getDebugInfo()
  191.     {
  192.         return array (  202 => 45,  200 => 40,  192 => 35,  187 => 33,  179 => 27,  169 => 26,  156 => 23,  146 => 22,  134 => 20,  130 => 19,  126 => 18,  121 => 17,  115 => 14,  111 => 12,  107 => 11,  103 => 9,  100 => 8,  97 => 7,  87 => 6,  74 => 4,  71 => 3,  61 => 2,  38 => 1,);
  193.     }
  194.     public function getSourceContext()
  195.     {
  196.         return new Source("{% extends 'base.html.twig' %}
  197.     {% block title %}
  198.         {% set metaTitle = content.metaTitle %}
  199.         {{ metaTitle }}
  200.     {% endblock %}
  201.     {% block meta_decription %}
  202.         {% set metaTitle = content.metaTitle %}
  203.         {% set metaDescription = content.metaDescription %}
  204.         <meta name=\"twitter:card\" content=\"summary\" />
  205.         <meta name=\"twitter:site\" content=\"Sanral\" />
  206.         <meta name=\"twitter:title\" content=\"{{ metaTitle }}\" />
  207.         <meta name=\"twitter:description\" content=\"{{ metaDescription }}\" />
  208. {#        <meta name=\"twitter:image\" content=\"https://hugenouttunnel.nerdw.com/images/home/{{ home_data.ogImage }}\" />#}
  209.         <meta name=\"twitter:url\" content=\"{{ app.request.uri }}\" />
  210. {#        <meta name=\"og:image\" content=\"https://hugenouttunnel.nerdw.com/images/home/{{ home_data.ogImage }}\" />#}
  211.         <meta name=\"og:title\" content=\"{{ metaTitle }}\" />
  212.         <meta name=\"og:description\" content=\"{{ metaDescription }}\" />
  213.         <meta name=\"og:url\" content=\"{{ app.request.uri }}\" />
  214.         <meta name=\"description\" content=\"{{ metaDescription }}\">
  215.     {% endblock %}
  216.     {% block stylesheets %}
  217.         {{ parent() }}
  218.     {% endblock %}
  219.     {% block layout %}
  220.         <div id=\"content-wrapper\" class=\"container-fluid\">
  221.             <div class=\"row no-gutters py-4\">
  222.                 <div class=\"col-md-9 px-3\">
  223.                     <div class=\"row\">
  224.                         <div class=\"col-12 pb-3\">
  225.                             <h1 class=\"display-4\" style=\"font-size: 30px;margin-top: 20px; margin-bottom: 20px; text-transform: capitalize\">
  226.                                 {{ content.title }}
  227.                             </h1>
  228.                             {{ content.copy|raw }}
  229.                         </div>
  230.                     </div>
  231.                 </div>
  232.                 <div class=\"col-md-3\" style=\"margin-top: 18px\">
  233.                     {{ render(controller(
  234.                         'App\\\\Controller\\\\CarouselController::getCarousel',
  235.                         {
  236.                             'page': 'content'
  237.                         }
  238.                     )) }}
  239.                 </div>
  240.             </div>
  241.         </div>
  242.     {% endblock %}""frontend/content.html.twig""/var/www/html/sanralsmme/templates/frontend/content.html.twig");
  243.     }
  244. }