Skip to content

Commit feb5450

Browse files
committed
Merge branch '2.7' into 2.8
* 2.7: [DebugBundle] Reword an outdated comment about var dumper wiring Ignore memcached missing key error on dession destroy
2 parents 5de901b + 6bb41d0 commit feb5450

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

DebugBundle.php

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,10 @@ public function boot()
2727
$container = $this->container;
2828

2929
// 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.
3234
VarDumper::setHandler(function ($var) use ($container) {
3335
$dumper = $container->get('data_collector.dump');
3436
$cloner = $container->get('var_dumper.cloner');

0 commit comments

Comments
 (0)