var/cache/dev/twig/c9/c91482f8a46bc63b7cdb9d3d3cd3982c.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. /* @SyliusUi/Block/_legacySonataEvent.html.twig */
  14. class __TwigTemplate_595b71193f1f6a8700370d4ac17a78de 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""@SyliusUi/Block/_legacySonataEvent.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""@SyliusUi/Block/_legacySonataEvent.html.twig"));
  33.         // line 1
  34.         echo $this->env->getRuntime('Sonata\BlockBundle\Templating\Helper\BlockHelper')->renderEvent(        // line 2
  35. (isset($context["event"]) || array_key_exists("event"$context) ? $context["event"] : (function () { throw new RuntimeError('Variable "event" does not exist.'2$this->source); })()), twig_array_filter($this->env,         // line 3
  36. $context, function ($__value__$__key__) use ($context$macros) { $context["value"] = $__value__$context["key"] = $__key__; return twig_in_filter((isset($context["key"]) || array_key_exists("key"$context) ? $context["key"] : (function () { throw new RuntimeError('Variable "key" does not exist.'3$this->source); })()), $this->extensions['Sylius\Bundle\UiBundle\Twig\LegacySonataBlockExtension']->getWhitelistedVariables()); }));
  37.         // line 4
  38.         echo "
  39. ";
  40.         
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  42.         
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  44.     }
  45.     public function getTemplateName()
  46.     {
  47.         return "@SyliusUi/Block/_legacySonataEvent.html.twig";
  48.     }
  49.     public function isTraitable()
  50.     {
  51.         return false;
  52.     }
  53.     public function getDebugInfo()
  54.     {
  55.         return array (  47 => 4,  45 => 3,  44 => 2,  43 => 1,);
  56.     }
  57.     public function getSourceContext()
  58.     {
  59.         return new Source("{{ sonata_block_render_event(
  60.     event,
  61.     _context|filter((value, key) => key in sonata_block_whitelisted_variables())
  62. ) }}
  63. ""@SyliusUi/Block/_legacySonataEvent.html.twig""/var/www/html/kindaka/vendor/sylius/sylius/src/Sylius/Bundle/UiBundle/Resources/views/Block/_legacySonataEvent.html.twig");
  64.     }
  65. }