[HttpKernel] removed implicit dep on Console

This commit is contained in:
Fabien Potencier 2016-10-08 09:57:37 -07:00
parent 362a8ac01a
commit 414206db89

View File

@ -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));
}