public function CommandExecuteEvent::__construct in Update helper 8
Same name and namespace in other branches
- 2.x src/Events/CommandExecuteEvent.php \Drupal\update_helper\Events\CommandExecuteEvent::__construct()
Command execute event constructor.
Parameters
\Drupal\Console\Core\Command\Command $command: Command that for which this event is triggered.
string $module: Module name.
int $update_number: Update number.
array $command_options: Command options.
bool $successful: Successful execution of command.
File
- src/
Events/ CommandExecuteEvent.php, line 64
Class
- CommandExecuteEvent
- Event for command execute.
Namespace
Drupal\update_helper\EventsCode
public function __construct(Command $command, $module, $update_number, array $command_options, $successful) {
$this->command = $command;
$this->module = $module;
$this->updateNumber = $update_number;
$this->commandOptions = $command_options;
$this->successful = $successful;
}