protected DbDumpApplication::getDefaultCommands()
Gets the default commands that should always be available.
Command[] An array of default Command instances
Overrides Application::getDefaultCommands
protected function getDefaultCommands() { // Even though this is a single command, keep the HelpCommand (--help). $default_commands = parent::getDefaultCommands(); $default_commands[] = new DbDumpCommand(); return $default_commands; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Command!DbDumpApplication.php/function/DbDumpApplication::getDefaultCommands/8.1.x