var/cache/dev/twig/e1/e13563f689a7eade2abffc4317526060e7fc03ec95f899ae143376b579c87969.php line 43

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. /* @SyliusAdmin/Configurator/Model/_form.html.twig */
  14. class __TwigTemplate_1881de64869e0d44714957344bc9bbd72865900b99011c645dc67663672d94f3 extends \Twig\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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusAdmin/Configurator/Model/_form.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@SyliusAdmin/Configurator/Model/_form.html.twig"));
  33.         // line 1
  34.         $context["menu"] = $this->extensions['Knp\Menu\Twig\MenuExtension']->get("app.menu.admin.model.form", [], ["model" => (isset($context["model"]) || array_key_exists("model"$context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.'1$this->source); })())]);
  35.         // line 2
  36.         echo $this->extensions['Knp\Menu\Twig\MenuExtension']->render((isset($context["menu"]) || array_key_exists("menu"$context) ? $context["menu"] : (function () { throw new RuntimeError('Variable "menu" does not exist.'2$this->source); })()), ["template" => "@SyliusAdmin/Configurator/Model/_menu.html.twig""form" => (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'2$this->source); })()), "model" => (isset($context["model"]) || array_key_exists("model"$context) ? $context["model"] : (function () { throw new RuntimeError('Variable "model" does not exist.'2$this->source); })())]);
  37.         echo "
  38. ";
  39.         
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  41.         
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  43.     }
  44.     public function getTemplateName()
  45.     {
  46.         return "@SyliusAdmin/Configurator/Model/_form.html.twig";
  47.     }
  48.     public function isTraitable()
  49.     {
  50.         return false;
  51.     }
  52.     public function getDebugInfo()
  53.     {
  54.         return array (  45 => 2,  43 => 1,);
  55.     }
  56.     public function getSourceContext()
  57.     {
  58.         return new Source("{% set menu = knp_menu_get('app.menu.admin.model.form', [], {'model': model}) %}
  59. {{ knp_menu_render(menu, {'template': '@SyliusAdmin/Configurator/Model/_menu.html.twig', 'form': form, 'model': model}) }}
  60. ""@SyliusAdmin/Configurator/Model/_form.html.twig""/home/chouettemauve/preprod/sylius/templates/bundles/SyliusAdminBundle/Configurator/Model/_form.html.twig");
  61.     }
  62. }