You are here

public function CommandInteractEvent::__construct in Update helper 8

Same name and namespace in other branches
  1. 2.x src/Events/CommandInteractEvent.php \Drupal\update_helper\Events\CommandInteractEvent::__construct()

Command interact event constructor.

Parameters

\Drupal\Console\Core\Command\Command $command: Command that for which this event is triggered.

\Symfony\Component\Console\Input\InputInterface $input: Input interface.

\Symfony\Component\Console\Output\OutputInterface $output: Output interface.

File

src/Events/CommandInteractEvent.php, line 48

Class

CommandInteractEvent
Event for command interactive.

Namespace

Drupal\update_helper\Events

Code

public function __construct(Command $command, InputInterface $input, OutputInterface $output) {
  $this->command = $command;
  $this->input = $input;
  $this->output = $output;
}