Наследование: extends AbstractDatabaseCommand
Пример #1
0
 /**
  * @return Command
  */
 protected function getCommand()
 {
     $dumpCommand = new DumpCommand();
     if (!$dumpCommand->isEnabled()) {
         $this->markTestSkipped('DumpCommand is not enabled.');
     }
     $application = $this->getApplication();
     $application->add($dumpCommand);
     $command = $this->getApplication()->find('db:dump');
     return $command;
 }