protected function DbDumpApplication::getCommandName

protected DbDumpApplication::getCommandName(InputInterface $input)

Gets the name of the command based on input.

Parameters

InputInterface $input The input interface:

Return value

string The command name

Overrides Application::getCommandName

File

core/lib/Drupal/Core/Command/DbDumpApplication.php, line 16

Class

DbDumpApplication
Provides a command to dump a database generation script.

Namespace

Drupal\Core\Command

Code

protected function getCommandName(InputInterface $input) {
  return 'dump-database-d8-mysql';
}

© 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::getCommandName/8.1.x