2023-06-19 12:13:30 +02:00
< ? 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 ;
2023-06-20 19:14:19 +02:00
/* default/index.html.twig */
class __TwigTemplate_e544ac655adad860bb21200734105c0c691ccaefa97cbceb0cdca538ce413eea extends Template
2023-06-19 12:13:30 +02:00
{
private $source ;
private $macros = [];
public function __construct ( Environment $env )
{
parent :: __construct ( $env );
$this -> source = $this -> getSourceContext ();
$this -> blocks = [
'title' => [ $this , 'block_title' ],
'body' => [ $this , 'block_body' ],
];
}
protected function doGetParent ( array $context )
{
// line 1
2023-06-20 19:14:19 +02:00
return " base.html.twig " ;
2023-06-19 12:13:30 +02:00
}
protected function doDisplay ( array $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this -> extensions [ " Symfony \\ Bundle \\ WebProfilerBundle \\ Twig \\ WebProfilerExtension " ];
2023-06-20 19:14:19 +02:00
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> enter ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), " template " , " default/index.html.twig " ));
2023-06-19 12:13:30 +02:00
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this -> extensions [ " Symfony \\ Bridge \\ Twig \\ Extension \\ ProfilerExtension " ];
2023-06-20 19:14:19 +02:00
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> enter ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), " template " , " default/index.html.twig " ));
2023-06-19 12:13:30 +02:00
2023-06-20 19:14:19 +02:00
$this -> parent = $this -> loadTemplate ( " base.html.twig " , " default/index.html.twig " , 1 );
2023-06-19 12:13:30 +02:00
$this -> parent -> display ( $context , array_merge ( $this -> blocks , $blocks ));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
}
// line 3
public function block_title ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this -> extensions [ " Symfony \\ Bundle \\ WebProfilerBundle \\ Twig \\ WebProfilerExtension " ];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> enter ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), " block " , " title " ));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this -> extensions [ " Symfony \\ Bridge \\ Twig \\ Extension \\ ProfilerExtension " ];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> enter ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), " block " , " title " ));
2023-06-20 19:14:19 +02:00
echo " Hello DefaultController! " ;
2023-06-19 12:13:30 +02:00
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
}
// line 5
public function block_body ( $context , array $blocks = [])
{
$macros = $this -> macros ;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this -> extensions [ " Symfony \\ Bundle \\ WebProfilerBundle \\ Twig \\ WebProfilerExtension " ];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> enter ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), " block " , " body " ));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this -> extensions [ " Symfony \\ Bridge \\ Twig \\ Extension \\ ProfilerExtension " ];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> enter ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile ( $this -> getTemplateName (), " block " , " body " ));
// line 6
2023-06-20 19:14:19 +02:00
echo " <style>
. example - wrapper { margin : 1 em auto ; max - width : 800 px ; width : 95 % ; font : 18 px / 1.5 sans - serif ; }
. example - wrapper code { background : #F5F5F5; padding: 2px 6px; }
</ style >
< div class = \ " example-wrapper \" >
< h1 > Hello " ;
// line 12
echo twig_escape_filter ( $this -> env , ( isset ( $context [ " controller_name " ]) || array_key_exists ( " controller_name " , $context ) ? $context [ " controller_name " ] : ( function () { throw new RuntimeError ( 'Variable "controller_name" does not exist.' , 12 , $this -> source ); })()), " html " , null , true );
echo " ! ✅</h1>
This friendly message is coming from :
" ;
// line 15
if (( isset ( $context [ " number " ]) || array_key_exists ( " number " , $context ) ? $context [ " number " ] : ( function () { throw new RuntimeError ( 'Variable "number" does not exist.' , 15 , $this -> source ); })())) {
// line 16
echo " <div>
< h2 >
" ;
// line 19
echo twig_escape_filter ( $this -> env , ( isset ( $context [ " number " ]) || array_key_exists ( " number " , $context ) ? $context [ " number " ] : ( function () { throw new RuntimeError ( 'Variable "number" does not exist.' , 19 , $this -> source ); })()), " html " , null , true );
echo "
</ h2 >
2023-06-19 12:13:30 +02:00
</ div >
2023-06-20 19:14:19 +02:00
" ;
}
// line 23
echo " <ul>
< li > Your controller at < code >< a href = \ " " ;
// line 24
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\CodeExtension' ] -> getFileLink ( " /home/poule/encrypted/stockage-syncable/www/development/html/caisse/src/Controller/DefaultController.php " , 0 ), " html " , null , true );
echo " \" >src/Controller/DefaultController.php</a></code></li>
< li > Your template at < code >< a href = \ " " ;
// line 25
echo twig_escape_filter ( $this -> env , $this -> extensions [ 'Symfony\Bridge\Twig\Extension\CodeExtension' ] -> getFileLink ( " /home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/index.html.twig " , 0 ), " html " , null , true );
echo " \" >templates/default/index.html.twig</a></code></li>
</ ul >
</ div >
2023-06-19 12:13:30 +02:00
" ;
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 -> leave ( $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof );
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e -> leave ( $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof );
}
public function getTemplateName ()
{
2023-06-20 19:14:19 +02:00
return " default/index.html.twig " ;
2023-06-19 12:13:30 +02:00
}
public function isTraitable ()
{
return false ;
}
public function getDebugInfo ()
{
2023-06-20 19:14:19 +02:00
return array ( 123 => 25 , 119 => 24 , 116 => 23 , 109 => 19 , 104 => 16 , 102 => 15 , 96 => 12 , 88 => 6 , 78 => 5 , 59 => 3 , 36 => 1 ,);
2023-06-19 12:13:30 +02:00
}
public function getSourceContext ()
{
2023-06-20 19:14:19 +02:00
return new Source ( " { % extends 'base.html.twig' %}
2023-06-19 12:13:30 +02:00
2023-06-20 19:14:19 +02:00
{ % block title % } Hello DefaultController ! { % endblock % }
2023-06-19 12:13:30 +02:00
{ % block body % }
2023-06-20 19:14:19 +02:00
< style >
. example - wrapper { margin : 1 em auto ; max - width : 800 px ; width : 95 % ; font : 18 px / 1.5 sans - serif ; }
. example - wrapper code { background : #F5F5F5; padding: 2px 6px; }
</ style >
< div class = \ " example-wrapper \" >
< h1 > Hello {{ controller_name }} ! ✅ </ h1 >
This friendly message is coming from :
{ % if number % }
< div >
< h2 >
{{ number }}
</ h2 >
2023-06-19 12:13:30 +02:00
</ div >
2023-06-20 19:14:19 +02:00
{ % endif % }
< ul >
< li > Your controller at < code >< a href = \ " { { '/home/poule/encrypted/stockage-syncable/www/development/html/caisse/src/Controller/DefaultController.php'|file_link(0) }} \" >src/Controller/DefaultController.php</a></code></li>
< li > Your template at < code >< a href = \ " { { '/home/poule/encrypted/stockage-syncable/www/development/html/caisse/templates/default/index.html.twig'|file_link(0) }} \" >templates/default/index.html.twig</a></code></li>
</ ul >
</ div >
2023-06-19 12:13:30 +02:00
{ % endblock % }
2023-06-20 19:14:19 +02:00
" , " default / index . html . twig " , " / home / poule / encrypted / stockage - syncable / www / development / html / caisse / templates / default / index . html . twig " );
2023-06-19 12:13:30 +02:00
}
}