File tree 1 file changed +7
-0
lines changed
1 file changed +7
-0
lines changed Original file line number Diff line number Diff line change 19
19
use Framework \CLI \Command ;
20
20
use Framework \CLI \Console ;
21
21
use Framework \Config \Config ;
22
+ use Framework \Config \Debug \ConfigCollection ;
23
+ use Framework \Config \Debug \ConfigCollector ;
22
24
use Framework \Database \Database ;
23
25
use Framework \Database \Debug \DatabaseCollection ;
24
26
use Framework \Database \Debug \DatabaseCollector ;
@@ -141,6 +143,11 @@ public function __construct(
141
143
$ collection = new AppCollection ('App ' );
142
144
$ collection ->addCollector (static ::$ debugCollector );
143
145
static ::debugger ()->addCollection ($ collection );
146
+ $ configCollector = new ConfigCollector ();
147
+ static ::$ config ->setDebugCollector ($ configCollector );
148
+ $ configCollection = new ConfigCollection ('Config ' );
149
+ $ configCollection ->addCollector ($ configCollector );
150
+ static ::debugger ()->addCollection ($ configCollection );
144
151
}
145
152
}
146
153
You can’t perform that action at this time.
0 commit comments