Пример #1
0
 /**
  * {@inheritdoc}
  */
 public function run()
 {
     return Drush::exec()->arg('sql-cli')->arg('<')->arg(escapeshellarg($this->filepath))->run();
 }
Пример #2
0
 /**
  * Return Drush executable.
  *
  * @return \Robo\Task\Base\Exec
  */
 protected function exec()
 {
     return Drush::exec();
 }
Пример #3
0
 /**
  * {@inheritdoc}
  */
 public function run()
 {
     return Drush::exec()->arg('sql-dump')->arg('>')->arg(escapeshellarg($this->filepath))->option('ordered-dump')->option('extra=--skip-comments')->option('structure-tables-list=' . escapeshellarg(implode(',', $this->getStructureOnlyTableList())))->run();
 }