var/cache/dev/twig/56/56f04fdda312718ec7975977bbcda99294763213c51154bcc299eff1e45f2ecc.php line 56

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. use Twig\TemplateWrapper;
  15. /* pdfs/product-specification-sheet/product-specification-sheet_new.html.twig */
  16. class __TwigTemplate_f6997d5aeababf250679ada997da94fdb1e154d7e77a6a0b440233b78dd5874e extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'style' => [$this'block_style'],
  29.             'content' => [$this'block_content'],
  30.         ];
  31.         $this->sandbox $this->extensions[SandboxExtension::class];
  32.         $this->checkSecurity();
  33.     }
  34.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  35.     {
  36.         // line 1
  37.         return "app/print-layout.html.twig";
  38.     }
  39.     protected function doDisplay(array $context, array $blocks = []): iterable
  40.     {
  41.         $macros $this->macros;
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pdfs/product-specification-sheet/product-specification-sheet_new.html.twig"));
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""pdfs/product-specification-sheet/product-specification-sheet_new.html.twig"));
  46.         $this->parent $this->loadTemplate("app/print-layout.html.twig""pdfs/product-specification-sheet/product-specification-sheet_new.html.twig"1);
  47.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  48.         
  49.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  50.         
  51.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  52.     }
  53.     // line 3
  54.     /**
  55.      * @return iterable<null|scalar|\Stringable>
  56.      */
  57.     public function block_style(array $context, array $blocks = []): iterable
  58.     {
  59.         $macros $this->macros;
  60.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  61.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  62.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  63.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""style"));
  64.         // line 4
  65.         yield "        ";
  66.         yield from $this->loadTemplate("pdfs/product-specification-sheet/style_new.html.twig""pdfs/product-specification-sheet/product-specification-sheet_new.html.twig"4)->unwrap()->yield($context);
  67.         // line 5
  68.         yield "    ";
  69.         
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  71.         
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  73.         yield from [];
  74.     }
  75.     // line 7
  76.     /**
  77.      * @return iterable<null|scalar|\Stringable>
  78.      */
  79.     public function block_content(array $context, array $blocks = []): iterable
  80.     {
  81.         $macros $this->macros;
  82.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  83.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  84.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  85.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  86.         // line 8
  87.         yield "        ";
  88.         yield from $this->loadTemplate("pdfs/product-specification-sheet/content_new.html.twig""pdfs/product-specification-sheet/product-specification-sheet_new.html.twig"8)->unwrap()->yield($context);
  89.         // line 9
  90.         yield "    ";
  91.         
  92.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  93.         
  94.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  95.         yield from [];
  96.     }
  97.     /**
  98.      * @codeCoverageIgnore
  99.      */
  100.     public function getTemplateName(): string
  101.     {
  102.         return "pdfs/product-specification-sheet/product-specification-sheet_new.html.twig";
  103.     }
  104.     /**
  105.      * @codeCoverageIgnore
  106.      */
  107.     public function isTraitable(): bool
  108.     {
  109.         return false;
  110.     }
  111.     /**
  112.      * @codeCoverageIgnore
  113.      */
  114.     public function getDebugInfo(): array
  115.     {
  116.         return array (  109 => 9,  106 => 8,  93 => 7,  82 => 5,  79 => 4,  66 => 3,  43 => 1,);
  117.     }
  118.     public function getSourceContext(): Source
  119.     {
  120.         return new Source("{% extends 'app/print-layout.html.twig' %}
  121.     {% block style %}
  122.         {% include 'pdfs/product-specification-sheet/style_new.html.twig' %}
  123.     {% endblock %}
  124.     {% block content %}
  125.         {% include 'pdfs/product-specification-sheet/content_new.html.twig' %}
  126.     {% endblock %}
  127. ""pdfs/product-specification-sheet/product-specification-sheet_new.html.twig""/home/forge/testing.coolworld.ptchr.dev/templates/pdfs/product-specification-sheet/product-specification-sheet_new.html.twig");
  128.     }
  129.     
  130.     public function checkSecurity()
  131.     {
  132.         static $tags = ["extends" => 1"include" => 4];
  133.         static $filters = [];
  134.         static $functions = [];
  135.         try {
  136.             $this->sandbox->checkSecurity(
  137.                 ['extends''include'],
  138.                 [],
  139.                 [],
  140.                 $this->source
  141.             );
  142.         } catch (SecurityError $e) {
  143.             $e->setSourceContext($this->source);
  144.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  145.                 $e->setTemplateLine($tags[$e->getTagName()]);
  146.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  147.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  148.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  149.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  150.             }
  151.             throw $e;
  152.         }
  153.     }
  154. }