[DebugBundle] Reword an outdated comment about var dumper wiring
This commit is contained in:
parent
ffa005c036
commit
f876fd9253
|
@ -27,8 +27,10 @@ class DebugBundle extends Bundle
|
||||||
$container = $this->container;
|
$container = $this->container;
|
||||||
|
|
||||||
// This code is here to lazy load the dump stack. This default
|
// This code is here to lazy load the dump stack. This default
|
||||||
// configuration for CLI mode is overridden in HTTP mode on
|
// configuration is overridden in CLI mode on 'console.command' event.
|
||||||
// 'kernel.request' event
|
// The dump data collector is used by default, so dump output is sent to
|
||||||
|
// the WDT. In a CLI context, if dump is used too soon, the data collector
|
||||||
|
// will buffer it, and release it at the end of the script.
|
||||||
VarDumper::setHandler(function ($var) use ($container) {
|
VarDumper::setHandler(function ($var) use ($container) {
|
||||||
$dumper = $container->get('data_collector.dump');
|
$dumper = $container->get('data_collector.dump');
|
||||||
$cloner = $container->get('var_dumper.cloner');
|
$cloner = $container->get('var_dumper.cloner');
|
||||||
|
|
Reference in New Issue