1111use Gt \DomTemplate \HTMLAttributeBinder ;
1212use Gt \DomTemplate \HTMLAttributeCollection ;
1313use Gt \DomTemplate \ListBinder ;
14+ use Gt \DomTemplate \ListElementCollection ;
1415use Gt \DomTemplate \PlaceholderBinder ;
1516use Gt \DomTemplate \TableBinder ;
16- use Gt \DomTemplate \TemplateCollection ;
1717use Gt \Http \Header \ResponseHeaders ;
1818use Gt \Http \Request ;
1919use Gt \Http \Response ;
@@ -78,7 +78,7 @@ public function loadElementBinder():ElementBinder {
7878 #[LazyLoad]
7979 public function loadTableBinder ():TableBinder {
8080 return new TableBinder (
81- $ this ->container ->get (TemplateCollection ::class),
81+ $ this ->container ->get (ListElementCollection ::class),
8282 $ this ->container ->get (ElementBinder::class),
8383 $ this ->container ->get (HTMLAttributeBinder::class),
8484 $ this ->container ->get (HTMLAttributeCollection::class),
@@ -87,15 +87,15 @@ public function loadTableBinder():TableBinder {
8787 }
8888
8989 #[LazyLoad]
90- public function loadTemplateCollection ():TemplateCollection {
90+ public function loadTemplateCollection ():ListElementCollection {
9191 $ document = $ this ->container ->get (Document::class);
92- return new TemplateCollection ($ document );
92+ return new ListElementCollection ($ document );
9393 }
9494
9595 #[LazyLoad]
9696 public function loadListBinder ():ListBinder {
9797 return new ListBinder (
98- $ this ->container ->get (TemplateCollection ::class)
98+ $ this ->container ->get (ListElementCollection ::class)
9999 );
100100 }
101101
@@ -109,7 +109,7 @@ public function loadDocumentBinder():DocumentBinder {
109109 $ this ->container ->get (PlaceholderBinder::class),
110110 $ this ->container ->get (TableBinder::class),
111111 $ this ->container ->get (ListBinder::class),
112- $ this ->container ->get (TemplateCollection ::class),
112+ $ this ->container ->get (ListElementCollection ::class),
113113 );
114114 }
115115
0 commit comments