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
<?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 ;
/* frontend/content.html.twig */
class __TwigTemplate_0dbfb4e1aa4c881d9bbe5817730f54558ea0aa62b7e099cf608cb8363a742124 extends Template
{
private $source ;
private $macros = [];
public function __construct ( Environment $env )
{
parent :: __construct ( $env );
$this -> source = $this -> getSourceContext ();
$this -> blocks = [
'title' => [ $this , 'block_title' ],
'meta_decription' => [ $this , 'block_meta_decription' ],
'stylesheets' => [ $this , 'block_stylesheets' ],
'layout' => [ $this , 'block_layout' ],
];
}
protected function doGetParent (array $context )
{
// line 1
return "base.html.twig" ;
}
protected function doDisplay (array $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> enter ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "template" , "frontend/content.html.twig" ));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> enter ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "template" , "frontend/content.html.twig" ));
$this -> parent = $this -> loadTemplate ( "base.html.twig" , "frontend/content.html.twig" , 1 );
$this -> parent -> display ( $context , array_merge ( $this -> blocks , $blocks ));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
}
// line 2
public function block_title ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> enter ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "title" ));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> enter ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "title" ));
// line 3
echo " " ;
$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" , false , false , false , 3 );
// line 4
echo " " ;
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" , null , true );
echo "
" ;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
}
// line 6
public function block_meta_decription ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> enter ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "meta_decription" ));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> enter ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "meta_decription" ));
// line 7
echo " " ;
$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" , false , false , false , 7 );
// line 8
echo " " ;
$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" , false , false , false , 8 );
// line 9
echo " <meta name=\"twitter:card\" content=\"summary\" />
<meta name=\"twitter:site\" content=\"Sanral\" />
<meta name=\"twitter:title\" content=\"" ;
// line 11
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" , null , true );
echo "\" />
<meta name=\"twitter:description\" content=\"" ;
// line 12
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" , null , true );
echo "\" />
" ;
// line 14
echo " <meta name=\"twitter:url\" content=\"" ;
echo twig_escape_filter ( $this -> env , 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.' , 14 , $this -> source ); })()), "request" , [], "any" , false , false , false , 14 ), "uri" , [], "any" , false , false , false , 14 ), "html" , null , true );
echo "\" />
" ;
// line 17
echo " <meta name=\"og:title\" content=\"" ;
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" , null , true );
echo "\" />
<meta name=\"og:description\" content=\"" ;
// line 18
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" , null , true );
echo "\" />
<meta name=\"og:url\" content=\"" ;
// line 19
echo twig_escape_filter ( $this -> env , 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.' , 19 , $this -> source ); })()), "request" , [], "any" , false , false , false , 19 ), "uri" , [], "any" , false , false , false , 19 ), "html" , null , true );
echo "\" />
<meta name=\"description\" content=\"" ;
// line 20
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" , null , true );
echo "\">
" ;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
}
// line 22
public function block_stylesheets ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> enter ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "stylesheets" ));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> enter ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "stylesheets" ));
// line 23
echo " " ;
$this -> displayParentBlock ( "stylesheets" , $context , $blocks );
echo "
" ;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
}
// line 26
public function block_layout ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> enter ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "layout" ));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> enter ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "layout" ));
// line 27
echo " <div id=\"content-wrapper\" class=\"container-fluid\">
<div class=\"row no-gutters py-4\">
<div class=\"col-md-9 px-3\">
<div class=\"row\">
<div class=\"col-12 pb-3\">
<h1 class=\"display-4\" style=\"font-size: 30px;margin-top: 20px; margin-bottom: 20px; text-transform: capitalize\">
" ;
// line 33
echo twig_escape_filter ( $this -> env , 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.' , 33 , $this -> source ); })()), "title" , [], "any" , false , false , false , 33 ), "html" , null , true );
echo "
</h1>
" ;
// line 35
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" , false , false , false , 35 );
echo "
</div>
</div>
</div>
<div class=\"col-md-3\" style=\"margin-top: 18px\">
" ;
// line 40
echo $this -> env -> getRuntime ( 'Symfony\Bridge\Twig\Extension\HttpKernelRuntime' )-> renderFragment ( Symfony\Bridge\Twig\Extension\HttpKernelExtension :: controller ( "App\\Controller\\CarouselController::getCarousel" , [ "page" => "content" ]));
// line 45
echo "
</div>
</div>
</div>
" ;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
}
public function getTemplateName ()
{
return "frontend/content.html.twig" ;
}
public function isTraitable ()
{
return false ;
}
public function getDebugInfo ()
{
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 ,);
}
public function getSourceContext ()
{
return new Source ( "{% extends 'base.html.twig' %}
{% block title %}
{% set metaTitle = content.metaTitle %}
{{ metaTitle }}
{% endblock %}
{% block meta_decription %}
{% set metaTitle = content.metaTitle %}
{% set metaDescription = content.metaDescription %}
<meta name=\"twitter:card\" content=\"summary\" />
<meta name=\"twitter:site\" content=\"Sanral\" />
<meta name=\"twitter:title\" content=\"{{ metaTitle }}\" />
<meta name=\"twitter:description\" content=\"{{ metaDescription }}\" />
{# <meta name=\"twitter:image\" content=\"https://hugenouttunnel.nerdw.com/images/home/{{ home_data.ogImage }}\" />#}
<meta name=\"twitter:url\" content=\"{{ app.request.uri }}\" />
{# <meta name=\"og:image\" content=\"https://hugenouttunnel.nerdw.com/images/home/{{ home_data.ogImage }}\" />#}
<meta name=\"og:title\" content=\"{{ metaTitle }}\" />
<meta name=\"og:description\" content=\"{{ metaDescription }}\" />
<meta name=\"og:url\" content=\"{{ app.request.uri }}\" />
<meta name=\"description\" content=\"{{ metaDescription }}\">
{% endblock %}
{% block stylesheets %}
{{ parent() }}
{% endblock %}
{% block layout %}
<div id=\"content-wrapper\" class=\"container-fluid\">
<div class=\"row no-gutters py-4\">
<div class=\"col-md-9 px-3\">
<div class=\"row\">
<div class=\"col-12 pb-3\">
<h1 class=\"display-4\" style=\"font-size: 30px;margin-top: 20px; margin-bottom: 20px; text-transform: capitalize\">
{{ content.title }}
</h1>
{{ content.copy|raw }}
</div>
</div>
</div>
<div class=\"col-md-3\" style=\"margin-top: 18px\">
{{ render(controller(
'App\\\\Controller\\\\CarouselController::getCarousel',
{
'page': 'content'
}
)) }}
</div>
</div>
</div>
{% endblock %}" , "frontend/content.html.twig" , "/var/www/html/sanralsmme/templates/frontend/content.html.twig" );
}
}