public function UpdateCommand::__construct in Lightning Core 8
Same name and namespace in other branches
- 8.5 src/Command/UpdateCommand.php \Drupal\lightning_core\Command\UpdateCommand::__construct()
- 8.2 src/Command/UpdateCommand.php \Drupal\lightning_core\Command\UpdateCommand::__construct()
- 8.3 src/Command/UpdateCommand.php \Drupal\lightning_core\Command\UpdateCommand::__construct()
- 8.4 src/Command/UpdateCommand.php \Drupal\lightning_core\Command\UpdateCommand::__construct()
UpdateCommand constructor.
Parameters
UpdateManager $update_manager: The update manager service.
File
- src/
Command/ UpdateCommand.php, line 26
Class
Namespace
Drupal\lightning_core\CommandCode
public function __construct(UpdateManager $update_manager) {
parent::__construct('update:lightning');
$this->updateManager = $update_manager;
}