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/validator.html.twig */
class __TwigTemplate_6aba9aa12b3879f178d314aea65be157 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/validator.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/validator.html.twig" ));
$this -> parent = $this -> loadTemplate ( "@WebProfiler/Profiler/layout.html.twig" , "@WebProfiler/Collector/validator.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 , (isset( $context [ "collector" ]) || array_key_exists ( "collector" , $context ) ? $context [ "collector" ] : (function () { throw new RuntimeError ( 'Variable "collector" does not exist.' , 4 , $this -> source ); })()), "violationsCount" , [], "any" , false , false , false , 4 ) > 0 ) || twig_length_filter ( $this -> env , 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 ); })()), "calls" , [], "any" , false , false , false , 4 )))) {
// line 5
echo " " ;
$context [ "status_color" ] = (( 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.' , 5 , $this -> source ); })()), "violationsCount" , [], "any" , false , false , false , 5 )) ? ( "red" ) : ( "" ));
// line 6
echo " " ;
ob_start ();
// line 7
echo " " ;
echo twig_include ( $this -> env , $context , "@WebProfiler/Icon/validator.svg" );
echo "
<span class=\"sf-toolbar-value\">
";
// line 9
echo twig_escape_filter ( $this -> env , (( 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.' , 9 , $this -> source ); })()), "violationsCount" , [], "any" , false , false , false , 9 )) ?: ( twig_length_filter ( $this -> env , 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.' , 9 , $this -> source ); })()), "calls" , [], "any" , false , false , false , 9 )))), "html" , null , true );
echo "
</span>
";
$context [ "icon" ] = ( '' === $tmp = ob_get_clean ()) ? '' : new Markup ( $tmp , $this -> env -> getCharset ());
// line 12
echo "
";
// line 13
ob_start ();
// line 14
echo " <div class=\"sf-toolbar-info-piece\">
<b>Validator calls</b>
<span class=\"sf-toolbar-status\">";
// line 16
echo twig_escape_filter ( $this -> env , twig_length_filter ( $this -> env , 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.' , 16 , $this -> source ); })()), "calls" , [], "any" , false , false , false , 16 )), "html" , null , true );
echo "</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Number of violations</b>
<span class=\"sf-toolbar-status";
// line 20
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.' , 20 , $this -> source ); })()), "violationsCount" , [], "any" , false , false , false , 20 ) > 0 )) ? ( " sf-toolbar-status-red" ) : ( "" ));
echo "\">" ;
echo twig_escape_filter ( $this -> env , 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.' , 20 , $this -> source ); })()), "violationsCount" , [], "any" , false , false , false , 20 ), "html" , null , true );
echo "</span>
</div>
";
$context [ "text" ] = ( '' === $tmp = ob_get_clean ()) ? '' : new Markup ( $tmp , $this -> env -> getCharset ());
// line 23
echo "
";
// line 24
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.' , 24 , $this -> source ); })()), "status" => (isset( $context [ "status_color" ]) || array_key_exists ( "status_color" , $context ) ? $context [ "status_color" ] : (function () { throw new RuntimeError ( 'Variable "status_color" does not exist.' , 24 , $this -> source ); })())]);
echo "
";
}
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 28
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 29
echo " <span class=\"label" ;
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.' , 29 , $this -> source ); })()), "violationsCount" , [], "any" , false , false , false , 29 )) ? ( " label-status-error" ) : ( "" ));
echo " " ;
echo ((twig_test_empty ( 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 ); })()), "calls" , [], "any" , false , false , false , 29 ))) ? ( "disabled" ) : ( "" ));
echo "\">
<span class=\"icon\">";
// line 30
echo twig_include ( $this -> env , $context , "@WebProfiler/Icon/validator.svg" );
echo "</span>
<strong>Validator</strong>
";
// line 32
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.' , 32 , $this -> source ); })()), "violationsCount" , [], "any" , false , false , false , 32 ) > 0 )) {
// line 33
echo " <span class=\"count\">
<span>";
// line 34
echo twig_escape_filter ( $this -> env , 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.' , 34 , $this -> source ); })()), "violationsCount" , [], "any" , false , false , false , 34 ), "html" , null , true );
echo "</span>
</span>
";
}
// line 37
echo " </span>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
// line 40
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 41
echo " <h2>Validator calls</h2>
";
// line 43
$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.' , 43 , $this -> source ); })()), "calls" , [], "any" , false , false , false , 43 ));
$context [ '_iterated' ] = false ;
$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 44
echo " <div class=\"sf-validator sf-reset\">
<span class=\"metadata\">In
";
// line 46
$context [ "caller" ] = twig_get_attribute ( $this -> env , $this -> source , $context [ "call" ], "caller" , [], "any" , false , false , false , 46 );
// line 47
echo " " ;
if (twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "caller" ]) || array_key_exists ( "caller" , $context ) ? $context [ "caller" ] : (function () { throw new RuntimeError ( 'Variable "caller" does not exist.' , 47 , $this -> source ); })()), "line" , [], "any" , false , false , false , 47 )) {
// line 48
echo " " ;
$context [ "link" ] = $this -> extensions [ 'Symfony\Bridge\Twig\Extension\CodeExtension' ]-> getFileLink ( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "caller" ]) || array_key_exists ( "caller" , $context ) ? $context [ "caller" ] : (function () { throw new RuntimeError ( 'Variable "caller" does not exist.' , 48 , $this -> source ); })()), "file" , [], "any" , false , false , false , 48 ), twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "caller" ]) || array_key_exists ( "caller" , $context ) ? $context [ "caller" ] : (function () { throw new RuntimeError ( 'Variable "caller" does not exist.' , 48 , $this -> source ); })()), "line" , [], "any" , false , false , false , 48 ));
// line 49
echo " " ;
if ((isset($context [ "link" ]) || array_key_exists ( "link" , $context ) ? $context [ "link" ] : (function () { throw new RuntimeError ( 'Variable "link" does not exist.' , 49 , $this -> source ); })())) {
// line 50
echo " <a href=\"" ;
echo twig_escape_filter ( $this -> env , (isset( $context [ "link" ]) || array_key_exists ( "link" , $context ) ? $context [ "link" ] : (function () { throw new RuntimeError ( 'Variable "link" does not exist.' , 50 , $this -> source ); })()), "html" , null , true );
echo "\" title=\"" ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "caller" ]) || array_key_exists ( "caller" , $context ) ? $context [ "caller" ] : (function () { throw new RuntimeError ( 'Variable "caller" does not exist.' , 50 , $this -> source ); })()), "file" , [], "any" , false , false , false , 50 ), "html" , null , true );
echo "\">" ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "caller" ]) || array_key_exists ( "caller" , $context ) ? $context [ "caller" ] : (function () { throw new RuntimeError ( 'Variable "caller" does not exist.' , 50 , $this -> source ); })()), "name" , [], "any" , false , false , false , 50 ), "html" , null , true );
echo "</a>
";
} else {
// line 52
echo " <abbr title=\"" ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "caller" ]) || array_key_exists ( "caller" , $context ) ? $context [ "caller" ] : (function () { throw new RuntimeError ( 'Variable "caller" does not exist.' , 52 , $this -> source ); })()), "file" , [], "any" , false , false , false , 52 ), "html" , null , true );
echo "\">" ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "caller" ]) || array_key_exists ( "caller" , $context ) ? $context [ "caller" ] : (function () { throw new RuntimeError ( 'Variable "caller" does not exist.' , 52 , $this -> source ); })()), "name" , [], "any" , false , false , false , 52 ), "html" , null , true );
echo "</abbr>
";
}
// line 54
echo " " ;
} else {
// line 55
echo " " ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "caller" ]) || array_key_exists ( "caller" , $context ) ? $context [ "caller" ] : (function () { throw new RuntimeError ( 'Variable "caller" does not exist.' , 55 , $this -> source ); })()), "name" , [], "any" , false , false , false , 55 ), "html" , null , true );
echo "
";
}
// line 57
echo " line <a class=\"text-small sf-toggle\" data-toggle-selector=\"#sf-trace-" ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "loop" ], "index0" , [], "any" , false , false , false , 57 ), "html" , null , true );
echo "\">" ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "caller" ]) || array_key_exists ( "caller" , $context ) ? $context [ "caller" ] : (function () { throw new RuntimeError ( 'Variable "caller" does not exist.' , 57 , $this -> source ); })()), "line" , [], "any" , false , false , false , 57 ), "html" , null , true );
echo "</a> (<a class=\"text-small sf-toggle\" data-toggle-selector=\"#sf-context-" ;
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "loop" ], "index0" , [], "any" , false , false , false , 57 ), "html" , null , true );
echo "\">context</a>):
</span>
<div class=\"sf-validator-compact hidden\" id=\"sf-trace-";
// line 60
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "loop" ], "index0" , [], "any" , false , false , false , 60 ), "html" , null , true );
echo "\">
<div class=\"trace\">
";
// line 62
echo twig_replace_filter ( $this -> extensions [ 'Symfony\Bridge\Twig\Extension\CodeExtension' ]-> fileExcerpt ( twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "caller" ]) || array_key_exists ( "caller" , $context ) ? $context [ "caller" ] : (function () { throw new RuntimeError ( 'Variable "caller" does not exist.' , 62 , $this -> source ); })()), "file" , [], "any" , false , false , false , 62 ), twig_get_attribute ( $this -> env , $this -> source , (isset( $context [ "caller" ]) || array_key_exists ( "caller" , $context ) ? $context [ "caller" ] : (function () { throw new RuntimeError ( 'Variable "caller" does not exist.' , 62 , $this -> source ); })()), "line" , [], "any" , false , false , false , 62 )), [ "#DD0000" => "var(--highlight-string)" , "#007700" => "var(--highlight-keyword)" , "#0000BB" => "var(--highlight-default)" , "#FF8000" => "var(--highlight-comment)" ]);
// line 67
echo "
</div>
</div>
<div class=\"sf-validator-compact hidden sf-validator-context\" id=\"sf-context-";
// line 71
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "loop" ], "index0" , [], "any" , false , false , false , 71 ), "html" , null , true );
echo "\">
";
// line 72
echo $this -> extensions [ 'Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension' ]-> dumpData ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "call" ], "context" , [], "any" , false , false , false , 72 ), 1 );
echo "
</div>
";
// line 75
if ( twig_length_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "call" ], "violations" , [], "any" , false , false , false , 75 ))) {
// line 76
echo " <table>
<thead>
<tr>
<th>Path</th>
<th>Message</th>
<th>Invalid value</th>
<th>Violation</th>
</tr>
</thead>
";
// line 85
$context [ '_parent' ] = $context ;
$context [ '_seq' ] = twig_ensure_traversable ( twig_get_attribute ( $this -> env , $this -> source , $context [ "call" ], "violations" , [], "any" , false , false , false , 85 ));
foreach ($context [ '_seq' ] as $context [ "_key" ] => $context [ "violation" ]) {
// line 86
echo " <tr>
<td>";
// line 87
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "violation" ], "propertyPath" , [], "any" , false , false , false , 87 ), "html" , null , true );
echo "</td>
<td>";
// line 88
echo twig_escape_filter ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "violation" ], "message" , [], "any" , false , false , false , 88 ), "html" , null , true );
echo "</td>
<td>";
// line 89
echo $this -> extensions [ 'Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension' ]-> dumpData ( $this -> env , twig_get_attribute ( $this -> env , $this -> source , $context [ "violation" ], "seek" , [ "invalidValue" ], "method" , false , false , false , 89 ));
echo "</td>
<td>";
// line 90
echo $this -> extensions [ 'Symfony\Bundle\WebProfilerBundle\Twig\WebProfilerExtension' ]-> dumpData ( $this -> env , $context [ "violation" ]);
echo "</td>
</tr>
";
}
$_parent = $context [ '_parent' ];
unset($context [ '_seq' ], $context [ '_iterated' ], $context [ '_key' ], $context [ 'violation' ], $context [ '_parent' ], $context [ 'loop' ]);
$context = array_intersect_key ( $context , $_parent ) + $_parent ;
// line 93
echo " </table>
";
} else {
// line 95
echo " No violations
";
}
// line 97
echo " </div>
";
$context [ '_iterated' ] = true ;
++$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' ];
}
}
if (!$context [ '_iterated' ]) {
// line 99
echo " <div class=\"empty\">
<p>No calls to the validator were collected during this request.</p>
</div>
";
}
$_parent = $context [ '_parent' ];
unset($context [ '_seq' ], $context [ '_iterated' ], $context [ '_key' ], $context [ 'call' ], $context [ '_parent' ], $context [ 'loop' ]);
$context = array_intersect_key ( $context , $_parent ) + $_parent ;
$__internal_6f47bbe9983af81f1e7450e9a3e3768f -> leave ( $__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof );
$__internal_5a27a8ba21ca79b61932376b2fa922d2 -> leave ( $__internal_5a27a8ba21ca79b61932376b2fa922d2_prof );
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName ()
{
return "@WebProfiler/Collector/validator.html.twig" ;
}
/**
* @codeCoverageIgnore
*/
public function isTraitable ()
{
return false ;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo ()
{
return array ( 346 => 99 , 332 => 97 , 328 => 95 , 324 => 93 , 315 => 90 , 311 => 89 , 307 => 88 , 303 => 87 , 300 => 86 , 296 => 85 , 285 => 76 , 283 => 75 , 277 => 72 , 273 => 71 , 267 => 67 , 265 => 62 , 260 => 60 , 249 => 57 , 243 => 55 , 240 => 54 , 232 => 52 , 222 => 50 , 219 => 49 , 216 => 48 , 213 => 47 , 211 => 46 , 207 => 44 , 189 => 43 , 185 => 41 , 175 => 40 , 164 => 37 , 158 => 34 , 155 => 33 , 153 => 32 , 148 => 30 , 141 => 29 , 131 => 28 , 118 => 24 , 115 => 23 , 107 => 20 , 100 => 16 , 96 => 14 , 94 => 13 , 91 => 12 , 85 => 9 , 79 => 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.violationsCount > 0 or collector.calls|length %}
{% set status_color = collector.violationsCount ? 'red' %}
{% set icon %}
{{ include('@WebProfiler/Icon/validator.svg') }}
<span class=\"sf-toolbar-value\">
{{ collector.violationsCount ?: collector.calls|length }}
</span>
{% endset %}
{% set text %}
<div class=\"sf-toolbar-info-piece\">
<b>Validator calls</b>
<span class=\"sf-toolbar-status\">{{ collector.calls|length }}</span>
</div>
<div class=\"sf-toolbar-info-piece\">
<b>Number of violations</b>
<span class=\"sf-toolbar-status {{- collector.violationsCount > 0 ? ' sf-toolbar-status-red' }}\">{{ collector.violationsCount }}</span>
</div>
{% endset %}
{{ include('@WebProfiler/Profiler/toolbar_item.html.twig', { link: profiler_url, status: status_color }) }}
{% endif %}
{% endblock %}
{% block menu %}
<span class=\"label {{- collector.violationsCount ? ' label-status-error' }} {{ collector.calls is empty ? 'disabled' }}\">
<span class=\"icon\">{{ include('@WebProfiler/Icon/validator.svg') }}</span>
<strong>Validator</strong>
{% if collector.violationsCount > 0 %}
<span class=\"count\">
<span>{{ collector.violationsCount }}</span>
</span>
{% endif %}
</span>
{% endblock %}
{% block panel %}
<h2>Validator calls</h2>
{% for call in collector.calls %}
<div class=\"sf-validator sf-reset\">
<span class=\"metadata\">In
{% set caller = call.caller %}
{% if caller.line %}
{% set link = caller.file|file_link(caller.line) %}
{% if link %}
<a href=\"{{ link }}\" title=\"{{ caller.file }}\">{{ caller.name }}</a>
{% else %}
<abbr title=\"{{ caller.file }}\">{{ caller.name }}</abbr>
{% endif %}
{% else %}
{{ caller.name }}
{% endif %}
line <a class=\"text-small sf-toggle\" data-toggle-selector=\"#sf-trace-{{ loop.index0 }}\">{{ caller.line }}</a> (<a class=\"text-small sf-toggle\" data-toggle-selector=\"#sf-context-{{ loop.index0 }}\">context</a>):
</span>
<div class=\"sf-validator-compact hidden\" id=\"sf-trace-{{ loop.index0 }}\">
<div class=\"trace\">
{{ caller.file|file_excerpt(caller.line)|replace({
'#DD0000': 'var(--highlight-string)',
'#007700': 'var(--highlight-keyword)',
'#0000BB': 'var(--highlight-default)',
'#FF8000': 'var(--highlight-comment)'
})|raw }}
</div>
</div>
<div class=\"sf-validator-compact hidden sf-validator-context\" id=\"sf-context-{{ loop.index0 }}\">
{{ profiler_dump(call.context, maxDepth=1) }}
</div>
{% if call.violations|length %}
<table>
<thead>
<tr>
<th>Path</th>
<th>Message</th>
<th>Invalid value</th>
<th>Violation</th>
</tr>
</thead>
{% for violation in call.violations %}
<tr>
<td>{{ violation.propertyPath }}</td>
<td>{{ violation.message }}</td>
<td>{{ profiler_dump(violation.seek('invalidValue')) }}</td>
<td>{{ profiler_dump(violation) }}</td>
</tr>
{% endfor %}
</table>
{% else %}
No violations
{% endif %}
</div>
{% else %}
<div class=\"empty\">
<p>No calls to the validator were collected during this request.</p>
</div>
{% endfor %}
{% endblock %}
", "@WebProfiler/Collector/validator.html.twig" , "/var/www/html/t/taurushr/vendor/symfony/web-profiler-bundle/Resources/views/Collector/validator.html.twig" );
}
}