Skip to content

Commit 3c9e632

Browse files
authored
Fixed enable-event-dispatcher does not exists. (#2426)
* Added doc for how to rewrite cast. * Update CHANGELOG-2.0.md * Update quick-start.md
1 parent d32cf04 commit 3c9e632

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/Command.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,6 +106,8 @@ public function __construct(string $name = null)
106106
} else {
107107
parent::__construct($name);
108108
}
109+
110+
$this->addEnableDispatcherOption();
109111
}
110112

111113
/**
@@ -423,8 +425,6 @@ protected function configure()
423425
if (! isset($this->signature)) {
424426
$this->specifyParameters();
425427
}
426-
427-
$this->addEnableDispatcherOption();
428428
}
429429

430430
protected function execute(InputInterface $input, OutputInterface $output)

0 commit comments

Comments
 (0)