DbDumpApplication.php in Drupal 9
File
core/lib/Drupal/Core/Command/DbDumpApplication.php
View source
<?php
namespace Drupal\Core\Command;
use Symfony\Component\Console\Application;
use Symfony\Component\Console\Input\InputInterface;
class DbDumpApplication extends Application {
protected function getCommandName(InputInterface $input) {
return 'dump-database-d8-mysql';
}
protected function getDefaultCommands() {
$default_commands = parent::getDefaultCommands();
$default_commands[] = new DbDumpCommand();
return $default_commands;
}
public function getDefinition() {
$definition = parent::getDefinition();
$definition
->setArguments();
return $definition;
}
}