You are here

public function LightningCoreCommands::__construct in Lightning Core 8

Same name and namespace in other branches
  1. 8.5 src/Commands/LightningCoreCommands.php \Drupal\lightning_core\Commands\LightningCoreCommands::__construct()
  2. 8.2 src/Commands/LightningCoreCommands.php \Drupal\lightning_core\Commands\LightningCoreCommands::__construct()
  3. 8.3 src/Commands/LightningCoreCommands.php \Drupal\lightning_core\Commands\LightningCoreCommands::__construct()
  4. 8.4 src/Commands/LightningCoreCommands.php \Drupal\lightning_core\Commands\LightningCoreCommands::__construct()

LightningCoreCommands constructor.

Parameters

\Drupal\lightning_core\UpdateManager $update_manager: The update manager service.

File

src/Commands/LightningCoreCommands.php, line 23

Class

LightningCoreCommands

Namespace

Drupal\lightning_core\Commands

Code

public function __construct(UpdateManager $update_manager) {
  $this->updateManager = $update_manager;
}