[HttpKernel] removed implicit dep on Console
This commit is contained in:
parent
362a8ac01a
commit
414206db89
@ -49,6 +49,10 @@ class DumpListener implements EventSubscriberInterface
|
||||
|
||||
public static function getSubscribedEvents()
|
||||
{
|
||||
if (!class_exists(ConsoleEvents::class)) {
|
||||
return array();
|
||||
}
|
||||
|
||||
// Register early to have a working dump() as early as possible
|
||||
return array(ConsoleEvents::COMMAND => array('configure', 1024));
|
||||
}
|
||||
|
Reference in New Issue
Block a user