Deprecated: Symfony\Component\Translation\t(): Implicitly marking parameter $domain as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/translation/Resources/functions.php on line 18

Deprecated: Symfony\Component\Dotenv\Dotenv::loadEnv(): Implicitly marking parameter $envKey as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/dotenv/Dotenv.php on line 110

Deprecated: Symfony\Component\Runtime\GenericRuntime::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/GenericRuntime.php on line 89

Deprecated: Symfony\Component\Runtime\RuntimeInterface::getResolver(): Implicitly marking parameter $reflector as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/runtime/RuntimeInterface.php on line 26

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $argv as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\ArgvInput::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/ArgvInput.php on line 46

Deprecated: Symfony\Component\Console\Input\Input::__construct(): Implicitly marking parameter $definition as nullable is deprecated, the explicit nullable type must be used instead in /var/www/html/t/taurushr/vendor/symfony/console/Input/Input.php on line 36

Deprecated: Constant E_STRICT is deprecated in /var/www/html/t/taurushr/vendor/symfony/error-handler/ErrorHandler.php on line 58

Deprecated: Constant E_STRICT is deprecated in /var/www/html/t/taurushr/vendor/symfony/error-handler/ErrorHandler.php on line 76
Symfony Profiler

var/cache/dev/twig/1d/1d12203f6b9a6e8e99522acbab17e97f.php line 52

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. /* @WebProfiler/Profiler/results.html.twig */
  14. class __TwigTemplate_f4898ae695f730e03db41ca002a1e9cb 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.             'summary' => [$this'block_summary'],
  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""@WebProfiler/Profiler/results.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""@WebProfiler/Profiler/results.html.twig"));
  39.         // line 9
  40.         $macros["helper"] = $this->macros["helper"] = $this;
  41.         // line 1
  42.         $this->parent $this->loadTemplate("@WebProfiler/Profiler/layout.html.twig""@WebProfiler/Profiler/results.html.twig"1);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 11
  50.     public function block_summary($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""summary"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""summary"));
  57.         // line 12
  58.         echo "    <div class=\"status\">
  59.         <div class=\"container\">
  60.             <h2>Profile Search</h2>
  61.         </div>
  62.     </div>
  63. ";
  64.         
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  66.         
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68.     }
  69.     // line 19
  70.     public function block_panel($context, array $blocks = [])
  71.     {
  72.         $macros $this->macros;
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  76.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""panel"));
  77.         // line 20
  78.         echo "    <h2>";
  79.         (((isset($context["tokens"]) || array_key_exists("tokens"$context) ? $context["tokens"] : (function () { throw new RuntimeError('Variable "tokens" does not exist.'20$this->source); })())) ? (print (twig_escape_filter($this->envtwig_length_filter($this->env, (isset($context["tokens"]) || array_key_exists("tokens"$context) ? $context["tokens"] : (function () { throw new RuntimeError('Variable "tokens" does not exist.'20$this->source); })())), "html"nulltrue))) : (print ("No")));
  80.         echo " results found</h2>
  81.     ";
  82.         // line 22
  83.         if ((isset($context["tokens"]) || array_key_exists("tokens"$context) ? $context["tokens"] : (function () { throw new RuntimeError('Variable "tokens" does not exist.'22$this->source); })())) {
  84.             // line 23
  85.             echo "        <table id=\"search-results\">
  86.             <thead>
  87.                 <tr>
  88.                     <th scope=\"col\" class=\"text-center\">Status</th>
  89.                     <th scope=\"col\">IP</th>
  90.                     <th scope=\"col\">Method</th>
  91.                     <th scope=\"col\">URL</th>
  92.                     <th scope=\"col\">Time</th>
  93.                     <th scope=\"col\">Token</th>
  94.                 </tr>
  95.             </thead>
  96.             <tbody>
  97.                 ";
  98.             // line 35
  99.             $context['_parent'] = $context;
  100.             $context['_seq'] = twig_ensure_traversable((isset($context["tokens"]) || array_key_exists("tokens"$context) ? $context["tokens"] : (function () { throw new RuntimeError('Variable "tokens" does not exist.'35$this->source); })()));
  101.             foreach ($context['_seq'] as $context["_key"] => $context["result"]) {
  102.                 // line 36
  103.                 echo "                    ";
  104.                 $context["css_class"] = (((((twig_get_attribute($this->env$this->source$context["result"], "status_code", [], "any"truetruefalse36)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["result"], "status_code", [], "any"falsefalsefalse36), 0)) : (0)) > 399)) ? ("status-error") : ((((((twig_get_attribute($this->env$this->source$context["result"], "status_code", [], "any"truetruefalse36)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["result"], "status_code", [], "any"falsefalsefalse36), 0)) : (0)) > 299)) ? ("status-warning") : ("status-success"))));
  105.                 // line 37
  106.                 echo "
  107.                     <tr>
  108.                         <td class=\"text-center\">
  109.                             <span class=\"label ";
  110.                 // line 40
  111.                 echo twig_escape_filter($this->env, (isset($context["css_class"]) || array_key_exists("css_class"$context) ? $context["css_class"] : (function () { throw new RuntimeError('Variable "css_class" does not exist.'40$this->source); })()), "html"nulltrue);
  112.                 echo "\">";
  113.                 echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source$context["result"], "status_code", [], "any"truetruefalse40)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source$context["result"], "status_code", [], "any"falsefalsefalse40), "n/a")) : ("n/a")), "html"nulltrue);
  114.                 echo "</span>
  115.                         </td>
  116.                         <td>
  117.                             <span class=\"nowrap\">";
  118.                 // line 43
  119.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["result"], "ip", [], "any"falsefalsefalse43), "html"nulltrue);
  120.                 echo " ";
  121.                 echo twig_call_macro($macros["helper"], "macro_profile_search_filter", [(isset($context["request"]) || array_key_exists("request"$context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.'43$this->source); })()), $context["result"], "ip"], 43$context$this->getSourceContext());
  122.                 echo "</span>
  123.                         </td>
  124.                         <td>
  125.                             <span class=\"nowrap\">";
  126.                 // line 46
  127.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["result"], "method", [], "any"falsefalsefalse46), "html"nulltrue);
  128.                 echo " ";
  129.                 echo twig_call_macro($macros["helper"], "macro_profile_search_filter", [(isset($context["request"]) || array_key_exists("request"$context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.'46$this->source); })()), $context["result"], "method"], 46$context$this->getSourceContext());
  130.                 echo "</span>
  131.                         </td>
  132.                         <td class=\"break-long-words\">
  133.                             ";
  134.                 // line 49
  135.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["result"], "url", [], "any"falsefalsefalse49), "html"nulltrue);
  136.                 echo "
  137.                             ";
  138.                 // line 50
  139.                 echo twig_call_macro($macros["helper"], "macro_profile_search_filter", [(isset($context["request"]) || array_key_exists("request"$context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.'50$this->source); })()), $context["result"], "url"], 50$context$this->getSourceContext());
  140.                 echo "
  141.                         </td>
  142.                         <td class=\"text-small\">
  143.                             <span class=\"nowrap\">";
  144.                 // line 53
  145.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["result"], "time", [], "any"falsefalsefalse53), "d-M-Y"), "html"nulltrue);
  146.                 echo "</span>
  147.                             <span class=\"nowrap newline\">";
  148.                 // line 54
  149.                 echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source$context["result"], "time", [], "any"falsefalsefalse54), "H:i:s"), "html"nulltrue);
  150.                 echo "</span>
  151.                         </td>
  152.                         <td class=\"nowrap\"><a href=\"";
  153.                 // line 56
  154.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler", ["token" => twig_get_attribute($this->env$this->source$context["result"], "token", [], "any"falsefalsefalse56)]), "html"nulltrue);
  155.                 echo "\">";
  156.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["result"], "token", [], "any"falsefalsefalse56), "html"nulltrue);
  157.                 echo "</a></td>
  158.                     </tr>
  159.                 ";
  160.             }
  161.             $_parent $context['_parent'];
  162.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['result'], $context['_parent'], $context['loop']);
  163.             $context array_intersect_key($context$_parent) + $_parent;
  164.             // line 59
  165.             echo "            </tbody>
  166.         </table>
  167.     ";
  168.         } else {
  169.             // line 62
  170.             echo "        <div class=\"empty\">
  171.             <p>The query returned no result.</p>
  172.         </div>
  173.     ";
  174.         }
  175.         // line 66
  176.         echo "
  177. ";
  178.         
  179.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  180.         
  181.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  182.     }
  183.     // line 3
  184.     public function macro_profile_search_filter($__request__ null$__result__ null$__property__ null, ...$__varargs__)
  185.     {
  186.         $macros $this->macros;
  187.         $context $this->env->mergeGlobals([
  188.             "request" => $__request__,
  189.             "result" => $__result__,
  190.             "property" => $__property__,
  191.             "varargs" => $__varargs__,
  192.         ]);
  193.         $blocks = [];
  194.         ob_start();
  195.         try {
  196.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  197.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""profile_search_filter"));
  198.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  199.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""profile_search_filter"));
  200.             // line 4
  201.             if (twig_get_attribute($this->env$this->source, (isset($context["request"]) || array_key_exists("request"$context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.'4$this->source); })()), "hasSession", [], "any"falsefalsefalse4)) {
  202.                 // line 5
  203.                 echo "<a href=\"";
  204.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("_profiler_search_results"twig_array_merge(twig_array_merge(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["request"]) || array_key_exists("request"$context) ? $context["request"] : (function () { throw new RuntimeError('Variable "request" does not exist.'5$this->source); })()), "query", [], "any"falsefalsefalse5), "all", [], "any"falsefalsefalse5), ["token" => twig_get_attribute($this->env$this->source, (isset($context["result"]) || array_key_exists("result"$context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.'5$this->source); })()), "token", [], "any"falsefalsefalse5)]), [(isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'5$this->source); })()) => twig_get_attribute($this->env$this->source, (isset($context["result"]) || array_key_exists("result"$context) ? $context["result"] : (function () { throw new RuntimeError('Variable "result" does not exist.'5$this->source); })()), (isset($context["property"]) || array_key_exists("property"$context) ? $context["property"] : (function () { throw new RuntimeError('Variable "property" does not exist.'5$this->source); })()), [], "array"falsefalsefalse5)])), "html"nulltrue);
  205.                 echo "\" title=\"Search\"><span title=\"Search\" class=\"sf-icon sf-search\">";
  206.                 echo twig_include($this->env$context"@WebProfiler/Icon/search.svg");
  207.                 echo "</span></a>";
  208.             }
  209.             
  210.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  211.             
  212.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  213.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  214.         } finally {
  215.             ob_end_clean();
  216.         }
  217.     }
  218.     /**
  219.      * @codeCoverageIgnore
  220.      */
  221.     public function getTemplateName()
  222.     {
  223.         return "@WebProfiler/Profiler/results.html.twig";
  224.     }
  225.     /**
  226.      * @codeCoverageIgnore
  227.      */
  228.     public function isTraitable()
  229.     {
  230.         return false;
  231.     }
  232.     /**
  233.      * @codeCoverageIgnore
  234.      */
  235.     public function getDebugInfo()
  236.     {
  237.         return array (  230 => 5,  228 => 4,  207 => 3,  196 => 66,  190 => 62,  185 => 59,  174 => 56,  169 => 54,  165 => 53,  159 => 50,  155 => 49,  147 => 46,  139 => 43,  131 => 40,  126 => 37,  123 => 36,  119 => 35,  105 => 23,  103 => 22,  97 => 20,  87 => 19,  72 => 12,  62 => 11,  51 => 1,  49 => 9,  36 => 1,);
  238.     }
  239.     public function getSourceContext()
  240.     {
  241.         return new Source("{% extends '@WebProfiler/Profiler/layout.html.twig' %}
  242. {% macro profile_search_filter(request, result, property) %}
  243.     {%- if request.hasSession -%}
  244.         <a href=\"{{ path('_profiler_search_results', request.query.all|merge({token: result.token})|merge({ (property): result[property] })) }}\" title=\"Search\"><span title=\"Search\" class=\"sf-icon sf-search\">{{ include('@WebProfiler/Icon/search.svg') }}</span></a>
  245.     {%- endif -%}
  246. {% endmacro %}
  247. {% import _self as helper %}
  248. {% block summary %}
  249.     <div class=\"status\">
  250.         <div class=\"container\">
  251.             <h2>Profile Search</h2>
  252.         </div>
  253.     </div>
  254. {% endblock %}
  255. {% block panel %}
  256.     <h2>{{ tokens ? tokens|length : 'No' }} results found</h2>
  257.     {% if tokens %}
  258.         <table id=\"search-results\">
  259.             <thead>
  260.                 <tr>
  261.                     <th scope=\"col\" class=\"text-center\">Status</th>
  262.                     <th scope=\"col\">IP</th>
  263.                     <th scope=\"col\">Method</th>
  264.                     <th scope=\"col\">URL</th>
  265.                     <th scope=\"col\">Time</th>
  266.                     <th scope=\"col\">Token</th>
  267.                 </tr>
  268.             </thead>
  269.             <tbody>
  270.                 {% for result in tokens %}
  271.                     {% set css_class = result.status_code|default(0) > 399 ? 'status-error' : result.status_code|default(0) > 299 ? 'status-warning' : 'status-success' %}
  272.                     <tr>
  273.                         <td class=\"text-center\">
  274.                             <span class=\"label {{ css_class }}\">{{ result.status_code|default('n/a') }}</span>
  275.                         </td>
  276.                         <td>
  277.                             <span class=\"nowrap\">{{ result.ip }} {{ helper.profile_search_filter(request, result, 'ip') }}</span>
  278.                         </td>
  279.                         <td>
  280.                             <span class=\"nowrap\">{{ result.method }} {{ helper.profile_search_filter(request, result, 'method') }}</span>
  281.                         </td>
  282.                         <td class=\"break-long-words\">
  283.                             {{ result.url }}
  284.                             {{ helper.profile_search_filter(request, result, 'url') }}
  285.                         </td>
  286.                         <td class=\"text-small\">
  287.                             <span class=\"nowrap\">{{ result.time|date('d-M-Y') }}</span>
  288.                             <span class=\"nowrap newline\">{{ result.time|date('H:i:s') }}</span>
  289.                         </td>
  290.                         <td class=\"nowrap\"><a href=\"{{ path('_profiler', { token: result.token }) }}\">{{ result.token }}</a></td>
  291.                     </tr>
  292.                 {% endfor %}
  293.             </tbody>
  294.         </table>
  295.     {% else %}
  296.         <div class=\"empty\">
  297.             <p>The query returned no result.</p>
  298.         </div>
  299.     {% endif %}
  300. {% endblock %}
  301. ""@WebProfiler/Profiler/results.html.twig""/var/www/html/t/taurushr/vendor/symfony/web-profiler-bundle/Resources/views/Profiler/results.html.twig");
  302.     }
  303. }