You are here

public function MigrateUpgradeDrushRunner::__construct in Migrate Upgrade 8.3

MigrateUpgradeDrushRunner constructor.

Parameters

\Psr\Log\LoggerInterface $logger: Drush logger compatible with Drupal.

array $options: Drush options parameters.

1 call to MigrateUpgradeDrushRunner::__construct()
TestMigrateUpgradeDrushRunner::__construct in tests/src/Unit/MigrateUpgradeDrushRunnerTest.php
MigrateUpgradeDrushRunner constructor.
1 method overrides MigrateUpgradeDrushRunner::__construct()
TestMigrateUpgradeDrushRunner::__construct in tests/src/Unit/MigrateUpgradeDrushRunnerTest.php
MigrateUpgradeDrushRunner constructor.

File

src/MigrateUpgradeDrushRunner.php, line 102

Class

MigrateUpgradeDrushRunner
Class MigrateUpgradeDrushRunner.

Namespace

Drupal\migrate_upgrade

Code

public function __construct(LoggerInterface $logger, array $options = []) {
  $this->logger = $logger;
  $this
    ->setOptions($options);
}