Security update for Core, with self-updated composer
[yaffs-website] / web / core / lib / Drupal / Core / Command / DbToolsApplication.php
1 <?php
2
3 namespace Drupal\Core\Command;
4
5 use Symfony\Component\Console\Application;
6
7 /**
8  * Provides a command to import a database generation script.
9  */
10 class DbToolsApplication extends Application {
11
12   /**
13    * {@inheritdoc}
14    */
15   public function __construct() {
16     parent::__construct('Database Tools', '8.0.x');
17   }
18
19   /**
20    * {@inheritdoc}
21    */
22   protected function getDefaultCommands() {
23     $default_commands = parent::getDefaultCommands();
24     $default_commands[] = new DbDumpCommand();
25     $default_commands[] = new DbImportCommand();
26     return $default_commands;
27   }
28
29 }