var/cache/dev/twig/42/42017c5147ae38cbadb8042d0d15d533.php line 49

  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. /* @EasyAdmin/inspector/data_collector.html.twig */
  14. class __TwigTemplate_36f18fea9bf17de2c4d43532e28a52f7 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.             'menu' => [$this'block_menu'],
  24.             'panel' => [$this'block_panel'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "@WebProfiler/Profiler/layout.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@EasyAdmin/inspector/data_collector.html.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@EasyAdmin/inspector/data_collector.html.twig"));
  39.         $this->parent $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig""@EasyAdmin/inspector/data_collector.html.twig"1);
  40.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 3
  47.     public function block_menu($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""menu"));
  54.         // line 4
  55.         echo "    <span class=\"label ";
  56.         echo (( !twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'4$this->source); })()), "isEasyAdminRequest", [], "any"falsefalsefalse4)) ? ("disabled") : (""));
  57.         echo "\">
  58.         <span class=\"icon\">";
  59.         // line 5
  60.         echo twig_include($this->env$context, ((((isset($context["profiler_markup_version"]) || array_key_exists("profiler_markup_version"$context) ? $context["profiler_markup_version"] : (function () { throw new RuntimeError('Variable "profiler_markup_version" does not exist.'5$this->source); })()) >= 3)) ? ("@EasyAdmin/inspector/icon-v3.svg.twig") : ("@EasyAdmin/inspector/icon.svg.twig")));
  61.         echo "</span>
  62.         <strong>EasyAdmin</strong>
  63.     </span>
  64. ";
  65.         
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  67.         
  68.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  69.     }
  70.     // line 10
  71.     public function block_panel($context, array $blocks = [])
  72.     {
  73.         $macros $this->macros;
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  76.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  78.         // line 11
  79.         echo "    <h2>EasyAdmin <small>(";
  80.         echo twig_escape_filter($this->envtwig_constant("EasyCorp\\Bundle\\EasyAdminBundle\\EasyAdminBundle::VERSION"), "html"nulltrue);
  81.         echo ")</small></h2>
  82.     ";
  83.         // line 13
  84.         if ( !twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'13$this->source); })()), "isEasyAdminRequest", [], "any"falsefalsefalse13)) {
  85.             // line 14
  86.             echo "        <div class=\"empty\">
  87.             <p>No information available because this route is not related to EasyAdmin.</p>
  88.         </div>
  89.     ";
  90.         } else {
  91.             // line 18
  92.             echo "        ";
  93.             echo twig_include($this->env$context"@WebProfiler/Profiler/table.html.twig", ["data" => twig_get_attribute($this->env$this->source, (isset($context["collector"]) || array_key_exists("collector"$context) ? $context["collector"] : (function () { throw new RuntimeError('Variable "collector" does not exist.'18$this->source); })()), "data", [], "any"falsefalsefalse18)], false);
  94.             echo "
  95.     ";
  96.         }
  97.         // line 20
  98.         echo "
  99.     <h3>Additional Resources</h3>
  100.     <ul>
  101.         <li><a href=\"https://github.com/EasyCorp/EasyAdminBundle/issues\">Report an issue</a></li>
  102.         <li><a href=\"https://symfony.com/doc/current/bundles/EasyAdminBundle/index.html\">Read documentation</a></li>
  103.         <li><a href=\"https://github.com/EasyCorp/EasyAdminBundle\">Project homepage</a></li>
  104.     </ul>
  105. ";
  106.         
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  108.         
  109.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  110.     }
  111.     public function getTemplateName()
  112.     {
  113.         return "@EasyAdmin/inspector/data_collector.html.twig";
  114.     }
  115.     public function isTraitable()
  116.     {
  117.         return false;
  118.     }
  119.     public function getDebugInfo()
  120.     {
  121.         return array (  118 => 20,  112 => 18,  106 => 14,  104 => 13,  98 => 11,  88 => 10,  74 => 5,  69 => 4,  59 => 3,  36 => 1,);
  122.     }
  123.     public function getSourceContext()
  124.     {
  125.         return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
  126. {% block menu %}
  127.     <span class=\"label {{ not collector.isEasyAdminRequest ? 'disabled' }}\">
  128.         <span class=\"icon\">{{ include(profiler_markup_version >= 3 ? '@EasyAdmin/inspector/icon-v3.svg.twig' : '@EasyAdmin/inspector/icon.svg.twig') }}</span>
  129.         <strong>EasyAdmin</strong>
  130.     </span>
  131. {% endblock %}
  132. {% block panel %}
  133.     <h2>EasyAdmin <small>({{ constant('EasyCorp\\\\Bundle\\\\EasyAdminBundle\\\\EasyAdminBundle::VERSION') }})</small></h2>
  134.     {% if not collector.isEasyAdminRequest %}
  135.         <div class=\"empty\">
  136.             <p>No information available because this route is not related to EasyAdmin.</p>
  137.         </div>
  138.     {% else %}
  139.         {{ include('@WebProfiler/Profiler/table.html.twig', { data: collector.data }, with_context = false) }}
  140.     {% endif %}
  141.     <h3>Additional Resources</h3>
  142.     <ul>
  143.         <li><a href=\"https://github.com/EasyCorp/EasyAdminBundle/issues\">Report an issue</a></li>
  144.         <li><a href=\"https://symfony.com/doc/current/bundles/EasyAdminBundle/index.html\">Read documentation</a></li>
  145.         <li><a href=\"https://github.com/EasyCorp/EasyAdminBundle\">Project homepage</a></li>
  146.     </ul>
  147. {% endblock %}
  148. ""@EasyAdmin/inspector/data_collector.html.twig""/home/bestofi/bestof/vendor/easycorp/easyadmin-bundle/src/Resources/views/inspector/data_collector.html.twig");
  149.     }
  150. }