File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/Symfony/Bundle/DebugBundle Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -27,8 +27,10 @@ public function boot()
27
27
$ container = $ this ->container ;
28
28
29
29
// This code is here to lazy load the dump stack. This default
30
- // configuration for CLI mode is overridden in HTTP mode on
31
- // 'kernel.request' event
30
+ // configuration is overridden in CLI mode on 'console.command' event.
31
+ // The dump data collector is used by default, so dump output is sent to
32
+ // the WDT. In a CLI context, if dump is used too soon, the data collector
33
+ // will buffer it, and release it at the end of the script.
32
34
VarDumper::setHandler (function ($ var ) use ($ container ) {
33
35
$ dumper = $ container ->get ('data_collector.dump ' );
34
36
$ cloner = $ container ->get ('var_dumper.cloner ' );
You can’t perform that action at this time.
0 commit comments