99use \Symfony \Component \Serializer \Serializer ;
1010use \Symfony \Component \HttpFoundation \Response ;
1111use \Symfony \Component \Templating \EngineInterface ;
12- use \Symfony \Component \PropertyInfo \PropertyInfoExtractor ;
12+ use \Symfony \Component \PropertyInfo \PropertyInfoExtractorInterface ;
1313
1414class IndexController
1515{
@@ -20,10 +20,10 @@ class IndexController
2020 private $ serviceModel ;
2121
2222 public function __construct (
23- EngineInterface $ templating ,
23+ $ templating ,
2424 Session $ pomm ,
2525 Serializer $ serializer ,
26- PropertyInfoExtractor $ property ,
26+ PropertyInfoExtractorInterface $ property ,
2727 Session $ serviceSession ,
2828 ServiceModel $ serviceModel
2929 ) {
@@ -42,7 +42,7 @@ public function indexAction()
4242
4343 return new Response (
4444 $ this ->templating ->render (
45- 'AppBundle: Front: index.html.twig '
45+ 'Front/ index.html.twig '
4646 )
4747 );
4848 }
@@ -51,7 +51,7 @@ public function getAction(Config $config = null)
5151 {
5252 return new Response (
5353 $ this ->templating ->render (
54- 'AppBundle: Front: get.html.twig ' ,
54+ 'Front/ get.html.twig ' ,
5555 compact ('config ' )
5656 )
5757 );
@@ -66,7 +66,7 @@ public function getDefaultSessionAction(Config $config)
6666 {
6767 return new Response (
6868 $ this ->templating ->render (
69- 'AppBundle: Front: get.html.twig ' ,
69+ 'Front/ get.html.twig ' ,
7070 compact ('config ' )
7171 )
7272 );
@@ -81,7 +81,7 @@ public function getSessionAction(Config $config)
8181 {
8282 return new Response (
8383 $ this ->templating ->render (
84- 'AppBundle: Front: get.html.twig ' ,
84+ 'Front/ get.html.twig ' ,
8585 compact ('config ' )
8686 )
8787 );
@@ -96,7 +96,7 @@ public function getSession2Action(Config $config)
9696 {
9797 return new Response (
9898 $ this ->templating ->render (
99- 'AppBundle: Front: get.html.twig ' ,
99+ 'Front/ get.html.twig ' ,
100100 compact ('config ' )
101101 )
102102 );
@@ -143,7 +143,7 @@ public function propertyListAction()
143143
144144 return new Response (
145145 $ this ->templating ->render (
146- 'AppBundle: Front: properties.html.twig ' ,
146+ 'Front/ properties.html.twig ' ,
147147 compact ('info ' )
148148 )
149149 );
@@ -155,7 +155,7 @@ public function propertyTypeAction($property)
155155
156156 return new Response (
157157 $ this ->templating ->render (
158- 'AppBundle: Front: property.html.twig ' ,
158+ 'Front/ property.html.twig ' ,
159159 compact ('info ' )
160160 )
161161 );
0 commit comments