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
<?php
use Twig\Environment ;
use Twig\Error\LoaderError ;
use Twig\Error\RuntimeError ;
use Twig\Extension\SandboxExtension ;
use Twig\Markup ;
use Twig\Sandbox\SecurityError ;
use Twig\Sandbox\SecurityNotAllowedTagError ;
use Twig\Sandbox\SecurityNotAllowedFilterError ;
use Twig\Sandbox\SecurityNotAllowedFunctionError ;
use Twig\Source ;
use Twig\Template ;
/* @WebProfiler/Collector/cache.html.twig */
class __TwigTemplate_6792c672e61f11151b934d7a1ba54802 extends Template
{
private $source ;
private $macros = [];
public function __construct ( Environment $env )
{
parent :: __construct ( $env );
$this -> source = $this -> getSourceContext ();
$this -> blocks = [
'toolbar' => [ $this , 'block_toolbar' ],
'menu' => [ $this , 'block_menu' ],
'panel' => [ $this , 'block_panel' ],
];
}
protected function doGetParent (array $context )
{
// line 1
return "@WebProfiler/Profiler/layout.html.twig" ;
}
protected function doDisplay (array $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "template" , "@WebProfiler/Collector/cache.html.twig" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "template" , "@WebProfiler/Collector/cache.html.twig" ));
$this -> parent = $this -> loadTemplate ( "@WebProfiler/Profiler/layout.html.twig" , "@WebProfiler/Collector/cache.html.twig" , 1 );
$this -> parent -> display ( $context , array_merge ( $this -> blocks , $blocks ));
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
}
// line 3
public function block_toolbar ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "toolbar" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "toolbar" ));
// line 4
echo " " ;
if ((twig_get_attribute ( $this -> env , $this -> source , 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 ); })()), "totals" , [], "any" , false , false , false , 4 ), "calls" , [], "any" , false , false , false , 4 ) > 0 )) {
// line 5
echo " " ;
ob_start ();
// line 6
echo " " ;
echo twig_include ( $this -> env , $context , "@WebProfiler/Icon/cache.svg" );
echo "
<span class=\"sf-toolbar-value\">";
// line 7
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , 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.' , 7 , $this -> source ); })()), "totals" , [], "any" , false , false , false , 7 ), "calls" , [], "any" , false , false , false , 7 ), "html" , null , true );
echo "</span>
<span class=\"sf-toolbar-info-piece-additional-detail\">
<span class=\"sf-toolbar-label\">in</span>
<span class=\"sf-toolbar-value\">";
// line 10
echo twig_escape_filter ( $this -> env , twig_sprintf ( "%0.2f" , ( twig_get_attribute ( $this -> env , $this -> source , 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.' , 10 , $this -> source ); })()), "totals" , [], "any" , false , false , false , 10 ), "time" , [], "any" , false , false , false , 10 ) * 1000 )), "html" , null , true );
echo "</span>
<span class=\"sf-toolbar-label\">ms</span>
</span>
";
$context [ "icon" ] = ( '' === $tmp = ob_get_clean ()) ? '' : new Markup ( $tmp , $this -> env -> getCharset ());
// line 14
echo " " ;
ob_start ();
// line 15
echo " <div class=\"sf-toolbar-info-piece\">
<b>Cache Calls</b>
<span>";
// line 17
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , 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.' , 17 , $this -> source ); })()), "totals" , [], "any" , false , false , false , 17 ), "calls" , [], "any" , false , false , false , 17 ), "html" , null , true );
echo "</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Total time</b>
<span>";
// line 21
echo twig_escape_filter ( $this -> env , twig_sprintf ( "%0.2f" , ( twig_get_attribute ( $this -> env , $this -> source , 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.' , 21 , $this -> source ); })()), "totals" , [], "any" , false , false , false , 21 ), "time" , [], "any" , false , false , false , 21 ) * 1000 )), "html" , null , true );
echo " ms</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Cache hits</b>
<span>";
// line 25
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , 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.' , 25 , $this -> source ); })()), "totals" , [], "any" , false , false , false , 25 ), "hits" , [], "any" , false , false , false , 25 ), "html" , null , true );
echo " / " ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , 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.' , 25 , $this -> source ); })()), "totals" , [], "any" , false , false , false , 25 ), "reads" , [], "any" , false , false , false , 25 ), "html" , null , true );
if ( !(null === twig_get_attribute ( $this -> env , $this -> source , 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.' , 25 , $this -> source ); })()), "totals" , [], "any" , false , false , false , 25 ), "hit_read_ratio" , [], "any" , false , false , false , 25 ))) {
echo " (" ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , 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.' , 25 , $this -> source ); })()), "totals" , [], "any" , false , false , false , 25 ), "hit_read_ratio" , [], "any" , false , false , false , 25 ), "html" , null , true );
echo "%)" ;
}
echo "</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Cache writes</b>
<span>";
// line 29
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , 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.' , 29 , $this -> source ); })()), "totals" , [], "any" , false , false , false , 29 ), "writes" , [], "any" , false , false , false , 29 ), "html" , null , true );
echo "</span>
</div>
";
$context [ "text" ] = ( '' === $tmp = ob_get_clean ()) ? '' : new Markup ( $tmp , $this -> env -> getCharset ());
// line 32
echo "
";
// line 33
echo twig_include ( $this -> env , $context , "@WebProfiler/Profiler/toolbar_item.html.twig" , [ "link" => (isset( $context [ "profiler_url" ]) || array_key_exists ( "profiler_url" , $context ) ? $context [ "profiler_url" ] : (function () { throw new RuntimeError ( 'Variable "profiler_url" does not exist.' , 33 , $this -> source ); })())]);
echo "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 37
public function block_menu ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "menu" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "menu" ));
// line 38
echo " <span class=\"label " ;
echo (((twig_get_attribute ( $this -> env , $this -> source , 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.' , 38 , $this -> source ); })()), "totals" , [], "any" , false , false , false , 38 ), "calls" , [], "any" , false , false , false , 38 ) == 0 )) ? ( "disabled" ) : ( "" ));
echo "\">
<span class=\"icon\">
";
// line 40
echo twig_include ( $this -> env , $context , "@WebProfiler/Icon/cache.svg" );
echo "
</span>
<strong>Cache</strong>
</span>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 46
public function block_panel ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this -> extensions [ "Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension" ];
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> enter ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "panel" ));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this -> extensions [ "Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension" ];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> enter ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), "block" , "panel" ));
// line 47
echo " <h2>Cache</h2>
";
// line 49
if (( twig_get_attribute ( $this -> env , $this -> source , 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.' , 49 , $this -> source ); })()), "totals" , [], "any" , false , false , false , 49 ), "calls" , [], "any" , false , false , false , 49 ) == 0 )) {
// line 50
echo " <div class=\"empty\">
<p>No cache calls were made.</p>
</div>
";
} else {
// line 54
echo " <div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">";
// line 56
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , 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.' , 56 , $this -> source ); })()), "totals" , [], "any" , false , false , false , 56 ), "calls" , [], "any" , false , false , false , 56 ), "html" , null , true );
echo "</span>
<span class=\"label\">Total calls</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 60
echo twig_escape_filter ( $this -> env , twig_sprintf ( "%0.2f" , ( twig_get_attribute ( $this -> env , $this -> source , 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.' , 60 , $this -> source ); })()), "totals" , [], "any" , false , false , false , 60 ), "time" , [], "any" , false , false , false , 60 ) * 1000 )), "html" , null , true );
echo " <span class=\"unit\">ms</span></span>
<span class=\"label\">Total time</span>
</div>
<div class=\"metric-divider\"></div>
<div class=\"metric\">
<span class=\"value\">";
// line 65
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , 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.' , 65 , $this -> source ); })()), "totals" , [], "any" , false , false , false , 65 ), "reads" , [], "any" , false , false , false , 65 ), "html" , null , true );
echo "</span>
<span class=\"label\">Total reads</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 69
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , 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.' , 69 , $this -> source ); })()), "totals" , [], "any" , false , false , false , 69 ), "writes" , [], "any" , false , false , false , 69 ), "html" , null , true );
echo "</span>
<span class=\"label\">Total writes</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 73
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , 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.' , 73 , $this -> source ); })()), "totals" , [], "any" , false , false , false , 73 ), "deletes" , [], "any" , false , false , false , 73 ), "html" , null , true );
echo "</span>
<span class=\"label\">Total deletes</span>
</div>
<div class=\"metric-divider\"></div>
<div class=\"metric\">
<span class=\"value\">";
// line 78
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , 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.' , 78 , $this -> source ); })()), "totals" , [], "any" , false , false , false , 78 ), "hits" , [], "any" , false , false , false , 78 ), "html" , null , true );
echo "</span>
<span class=\"label\">Total hits</span>
</div>
<div class=\"metric\">
<span class=\"value\">";
// line 82
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , 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.' , 82 , $this -> source ); })()), "totals" , [], "any" , false , false , false , 82 ), "misses" , [], "any" , false , false , false , 82 ), "html" , null , true );
echo "</span>
<span class=\"label\">Total misses</span>
</div>
<div class=\"metric\">
<span class=\"value\">
";
// line 87
((( twig_get_attribute ( $this -> env , $this -> source , twig_get_attribute ( $this -> env , $this -> source , ( $context [ "collector" ] ?? null ), "totals" , [], "any" , false , true , false , 87 ), "hit_read_ratio" , [], "any" , true , true , false , 87 ) && !( null === twig_get_attribute ( $this -> env , $this -> source , twig_get_attribute ( $this -> env , $this -> source , ( $context [ "collector" ] ?? null ), "totals" , [], "any" , false , true , false , 87 ), "hit_read_ratio" , [], "any" , false , false , false , 87 )))) ? (print ( twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , twig_get_attribute ( $this -> env , $this -> source , ( $context [ "collector" ] ?? null ), "totals" , [], "any" , false , true , false , 87 ), "hit_read_ratio" , [], "any" , false , false , false , 87 ), "html" , null , true ))) : (print ( 0 )));
echo " <span class=\"unit\">%</span>
</span>
<span class=\"label\">Hits/reads</span>
</div>
</div>
<h2>Pools</h2>
<div class=\"sf-tabs\">
";
// line 95
$context [ '_parent' ] = $context ;
$context [ '_seq' ] = twig_ensure_traversable ( 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.' , 95 , $this -> source ); })()), "calls" , [], "any" , false , false , false , 95 ));
foreach ($context [ '_seq' ] as $context [ "name" ] => $context [ "calls" ]) {
// line 96
echo " <div class=\"tab " ;
echo (((twig_length_filter ( $this -> env , $context [ "calls" ]) == 0 )) ? ( "disabled" ) : ( "" ));
echo "\">
<h3 class=\"tab-title\">";
// line 97
echo twig_escape_filter ( $this -> env , $context [ "name" ], "html" , null , true );
echo " <span class=\"badge\">" ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , twig_get_attribute ( $this -> env , $this -> source , 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.' , 97 , $this -> source ); })()), "statistics" , [], "any" , false , false , false , 97 ), $context [ "name" ], [], "array" , false , false , false , 97 ), "calls" , [], "any" , false , false , false , 97 ), "html" , null , true );
echo "</span></h3>
<div class=\"tab-content\">
";
// line 100
if (( twig_length_filter ( $this -> env , $context [ "calls" ]) == 0 )) {
// line 101
echo " <div class=\"empty\">
<p>No calls were made for ";
// line 102
echo twig_escape_filter ( $this -> env , $context [ "name" ], "html" , null , true );
echo " pool.</p>
</div>
";
} else {
// line 105
echo " <h4>Metrics</h4>
<div class=\"metrics\">
";
// line 107
$context [ '_parent' ] = $context ;
$context [ '_seq' ] = twig_ensure_traversable ( twig_get_attribute ( $this -> env , $this -> source , 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.' , 107 , $this -> source ); })()), "statistics" , [], "any" , false , false , false , 107 ), $context [ "name" ], [], "array" , false , false , false , 107 ));
foreach ($context [ '_seq' ] as $context [ "key" ] => $context [ "value" ]) {
// line 108
echo " <div class=\"metric\">
<span class=\"value\">
";
// line 110
if (( $context [ "key" ] == "time" )) {
// line 111
echo " " ;
echo twig_escape_filter ( $this -> env , twig_sprintf ( "%0.2f" , ( 1000 * $context [ "value" ])), "html" , null , true );
echo " <span class=\"unit\">ms</span>
";
} elseif (( // line 112
$context [ "key" ] == "hit_read_ratio" )) {
// line 113
echo " " ;
(((array_key_exists ( "value" , $context ) && !( null === $context [ "value" ]))) ? (print ( twig_escape_filter ( $this -> env , $context [ "value" ], "html" , null , true ))) : (print ( 0 )));
echo " <span class=\"unit\">%</span>
";
} else {
// line 115
echo " " ;
echo twig_escape_filter ( $this -> env , $context [ "value" ], "html" , null , true );
echo "
";
}
// line 117
echo " </span>
<span class=\"label\">";
// line 118
((( $context [ "key" ] == "hit_read_ratio" )) ? (print ( "Hits/reads" )) : (print ( twig_escape_filter ( $this -> env , twig_capitalize_string_filter ( $this -> env , $context [ "key" ]), "html" , null , true ))));
echo "</span>
</div>
";
// line 120
if ((( $context [ "key" ] == "time" ) || ( $context [ "key" ] == "deletes" ))) {
// line 121
echo " <div class=\"metric-divider\"></div>
";
}
// line 123
echo " " ;
}
$_parent = $context [ '_parent' ];
unset($context [ '_seq' ], $context [ '_iterated' ], $context [ 'key' ], $context [ 'value' ], $context [ '_parent' ], $context [ 'loop' ]);
$context = array_intersect_key ( $context , $_parent ) + $_parent ;
// line 124
echo " </div>
<h4>Calls</h4>
<table>
<thead>
<tr>
<th>#</th>
<th>Time</th>
<th>Call</th>
<th>Hit</th>
</tr>
</thead>
<tbody>
";
// line 137
$context [ '_parent' ] = $context ;
$context [ '_seq' ] = twig_ensure_traversable ( $context [ "calls" ]);
$context [ 'loop' ] = [
'parent' => $context [ '_parent' ],
'index0' => 0 ,
'index' => 1 ,
'first' => true ,
];
if (is_array ( $context [ '_seq' ]) || ( is_object ( $context [ '_seq' ]) && $context [ '_seq' ] instanceof \Countable )) {
$length = count ( $context [ '_seq' ]);
$context [ 'loop' ][ 'revindex0' ] = $length - 1 ;
$context [ 'loop' ][ 'revindex' ] = $length ;
$context [ 'loop' ][ 'length' ] = $length ;
$context [ 'loop' ][ 'last' ] = 1 === $length ;
}
foreach ($context [ '_seq' ] as $context [ "_key" ] => $context [ "call" ]) {
// line 138
echo " <tr>
<td class=\"font-normal text-small text-muted nowrap\">";
// line 139
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "loop" ], "index" , [], "any" , false , false , false , 139 ), "html" , null , true );
echo "</td>
<td class=\"nowrap\">";
// line 140
echo twig_escape_filter ( $this -> env , twig_sprintf ( "%0.2f" , (( twig_get_attribute ( $this -> env , $this -> source , $context [ "call" ], "end" , [], "any" , false , false , false , 140 ) - twig_get_attribute ( $this -> env , $this -> source , $context [ "call" ], "start" , [], "any" , false , false , false , 140 )) * 1000 )), "html" , null , true );
echo " ms</td>
<td class=\"nowrap\">";
// line 141
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "call" ], "name" , [], "any" , false , false , false , 141 ), "html" , null , true );
echo "()</td>
<td>";
// line 142
echo $this -> extensions [ 'Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension' ]-> dumpData ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , twig_get_attribute ( $this -> env , $this -> source , $context [ "call" ], "value" , [], "any" , false , false , false , 142 ), "result" , [], "any" , false , false , false , 142 ), 2 );
echo "</td>
</tr>
";
++$context [ 'loop' ][ 'index0' ];
++$context [ 'loop' ][ 'index' ];
$context [ 'loop' ][ 'first' ] = false ;
if (isset($context [ 'loop' ][ 'length' ])) {
--$context [ 'loop' ][ 'revindex0' ];
--$context [ 'loop' ][ 'revindex' ];
$context [ 'loop' ][ 'last' ] = 0 === $context [ 'loop' ][ 'revindex0' ];
}
}
$_parent = $context [ '_parent' ];
unset($context [ '_seq' ], $context [ '_iterated' ], $context [ '_key' ], $context [ 'call' ], $context [ '_parent' ], $context [ 'loop' ]);
$context = array_intersect_key ( $context , $_parent ) + $_parent ;
// line 145
echo " </tbody>
</table>
";
}
// line 148
echo " </div>
</div>
";
}
$_parent = $context [ '_parent' ];
unset($context [ '_seq' ], $context [ '_iterated' ], $context [ 'name' ], $context [ 'calls' ], $context [ '_parent' ], $context [ 'loop' ]);
$context = array_intersect_key ( $context , $_parent ) + $_parent ;
// line 151
echo " </div>
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName ()
{
return "@WebProfiler/Collector/cache.html.twig" ;
}
/**
* @codeCoverageIgnore
*/
public function isTraitable ()
{
return false ;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo ()
{
return array ( 429 => 151 , 421 => 148 , 416 => 145 , 399 => 142 , 395 => 141 , 391 => 140 , 387 => 139 , 384 => 138 , 367 => 137 , 352 => 124 , 346 => 123 , 342 => 121 , 340 => 120 , 335 => 118 , 332 => 117 , 326 => 115 , 320 => 113 , 318 => 112 , 313 => 111 , 311 => 110 , 307 => 108 , 303 => 107 , 299 => 105 , 293 => 102 , 290 => 101 , 288 => 100 , 280 => 97 , 275 => 96 , 271 => 95 , 260 => 87 , 252 => 82 , 245 => 78 , 237 => 73 , 230 => 69 , 223 => 65 , 215 => 60 , 208 => 56 , 204 => 54 , 198 => 50 , 196 => 49 , 192 => 47 , 182 => 46 , 167 => 40 , 161 => 38 , 151 => 37 , 138 => 33 , 135 => 32 , 129 => 29 , 115 => 25 , 108 => 21 , 101 => 17 , 97 => 15 , 94 => 14 , 87 => 10 , 81 => 7 , 76 => 6 , 73 => 5 , 70 => 4 , 60 => 3 , 37 => 1 ,);
}
public function getSourceContext ()
{
return new Source ( "{% extends '@WebProfiler/Profiler/layout.html.twig' %}
{% block toolbar %}
{% if collector.totals.calls > 0 %}
{% set icon %}
{{ include('@WebProfiler/Icon/cache.svg') }}
<span class=\"sf-toolbar-value\">{{ collector.totals.calls }}</span>
<span class=\"sf-toolbar-info-piece-additional-detail\">
<span class=\"sf-toolbar-label\">in</span>
<span class=\"sf-toolbar-value\">{{ '%0.2f'|format(collector.totals.time * 1000) }}</span>
<span class=\"sf-toolbar-label\">ms</span>
</span>
{% endset %}
{% set text %}
<div class=\"sf-toolbar-info-piece\">
<b>Cache Calls</b>
<span>{{ collector.totals.calls }}</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Total time</b>
<span>{{ '%0.2f'|format(collector.totals.time * 1000) }} ms</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Cache hits</b>
<span>{{ collector.totals.hits }} / {{ collector.totals.reads }}{% if collector.totals.hit_read_ratio is not null %} ({{ collector.totals.hit_read_ratio }}%){% endif %}</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Cache writes</b>
<span>{{ collector.totals.writes }}</span>
</div>
{% endset %}
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url }) }}
{% endif %}
{% endblock %}
{% block menu %}
<span class=\"label {{ collector.totals.calls == 0 ? 'disabled' }}\">
<span class=\"icon\">
{{ include('@WebProfiler/Icon/cache.svg') }}
</span>
<strong>Cache</strong>
</span>
{% endblock %}
{% block panel %}
<h2>Cache</h2>
{% if collector.totals.calls == 0 %}
<div class=\"empty\">
<p>No cache calls were made.</p>
</div>
{% else %}
<div class=\"metrics\">
<div class=\"metric\">
<span class=\"value\">{{ collector.totals.calls }}</span>
<span class=\"label\">Total calls</span>
</div>
<div class=\"metric\">
<span class=\"value\">{{ '%0.2f'|format(collector.totals.time * 1000) }} <span class=\"unit\">ms</span></span>
<span class=\"label\">Total time</span>
</div>
<div class=\"metric-divider\"></div>
<div class=\"metric\">
<span class=\"value\">{{ collector.totals.reads }}</span>
<span class=\"label\">Total reads</span>
</div>
<div class=\"metric\">
<span class=\"value\">{{ collector.totals.writes }}</span>
<span class=\"label\">Total writes</span>
</div>
<div class=\"metric\">
<span class=\"value\">{{ collector.totals.deletes }}</span>
<span class=\"label\">Total deletes</span>
</div>
<div class=\"metric-divider\"></div>
<div class=\"metric\">
<span class=\"value\">{{ collector.totals.hits }}</span>
<span class=\"label\">Total hits</span>
</div>
<div class=\"metric\">
<span class=\"value\">{{ collector.totals.misses }}</span>
<span class=\"label\">Total misses</span>
</div>
<div class=\"metric\">
<span class=\"value\">
{{ collector.totals.hit_read_ratio ?? 0 }} <span class=\"unit\">%</span>
</span>
<span class=\"label\">Hits/reads</span>
</div>
</div>
<h2>Pools</h2>
<div class=\"sf-tabs\">
{% for name, calls in collector.calls %}
<div class=\"tab {{ calls|length == 0 ? 'disabled' }}\">
<h3 class=\"tab-title\">{{ name }} <span class=\"badge\">{{ collector.statistics[name].calls }}</span></h3>
<div class=\"tab-content\">
{% if calls|length == 0 %}
<div class=\"empty\">
<p>No calls were made for {{ name }} pool.</p>
</div>
{% else %}
<h4>Metrics</h4>
<div class=\"metrics\">
{% for key, value in collector.statistics[name] %}
<div class=\"metric\">
<span class=\"value\">
{% if key == 'time' %}
{{ '%0.2f'|format(1000 * value) }} <span class=\"unit\">ms</span>
{% elseif key == 'hit_read_ratio' %}
{{ value ?? 0 }} <span class=\"unit\">%</span>
{% else %}
{{ value }}
{% endif %}
</span>
<span class=\"label\">{{ key == 'hit_read_ratio' ? 'Hits/reads' : key|capitalize }}</span>
</div>
{% if key == 'time' or key == 'deletes' %}
<div class=\"metric-divider\"></div>
{% endif %}
{% endfor %}
</div>
<h4>Calls</h4>
<table>
<thead>
<tr>
<th>#</th>
<th>Time</th>
<th>Call</th>
<th>Hit</th>
</tr>
</thead>
<tbody>
{% for call in calls %}
<tr>
<td class=\"font-normal text-small text-muted nowrap\">{{ loop.index }}</td>
<td class=\"nowrap\">{{ '%0.2f'|format((call.end - call.start) * 1000) }} ms</td>
<td class=\"nowrap\">{{ call.name }}()</td>
<td>{{ profiler_dump(call.value.result, maxDepth=2) }}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
</div>
</div>
{% endfor %}
</div>
{% endif %}
{% endblock %}
", "@WebProfiler/Collector/cache.html.twig" , "/var/www/html/t/taurushr/vendor/symfony/web-profiler-bundle/Resources/views/Collector/cache.html.twig" );
}
}