Overrides Application::getDefaultCommands
protected function getDefaultCommands() : array { // Even though this is a single command, keep the HelpCommand (--help). $default_commands = parent::getDefaultCommands(); $default_commands[] = new DbDumpCommand(); return $default_commands; }