You are here

public function WebformCliService::setCommand in Webform 8.5

Same name and namespace in other branches
  1. 6.x src/Commands/WebformCliService.php \Drupal\webform\Commands\WebformCliService::setCommand()

Set the drush 9.x command.

Parameters

\Drupal\webform\Commands\WebformCommands $command: A Drush 9.x command.

Overrides WebformCliServiceInterface::setCommand

File

src/Commands/WebformCliService.php, line 42

Class

WebformCliService
Drush version agnostic commands.

Namespace

Drupal\webform\Commands

Code

public function setCommand(DrushCommands $command) {
  $this->command = $command;
}