You are here

public function VarbaseUpdateHelperCommands::setLogger in Varbase Core 8.7

Same name and namespace in other branches
  1. 8.8 modules/varbase_update_helper/src/Commands/VarbaseUpdateHelperCommands.php \Drupal\varbase_update_helper\Commands\VarbaseUpdateHelperCommands::setLogger()
  2. 8.6 modules/varbase_update_helper/src/Commands/VarbaseUpdateHelperCommands.php \Drupal\varbase_update_helper\Commands\VarbaseUpdateHelperCommands::setLogger()
  3. 9.0.x modules/varbase_update_helper/src/Commands/VarbaseUpdateHelperCommands.php \Drupal\varbase_update_helper\Commands\VarbaseUpdateHelperCommands::setLogger()

File

modules/varbase_update_helper/src/Commands/VarbaseUpdateHelperCommands.php, line 35

Class

VarbaseUpdateHelperCommands
Class VarbaseUpdateHelperCommands.

Namespace

Drupal\varbase_update_helper\Commands

Code

public function setLogger(LoggerInterface $logger) {
  parent::setLogger($logger);
  $this->commandHelper
    ->setLogger($logger);
}