You are here

public function GenerateConfigurationUpdateCommand::__construct in Update helper 8

Generate configuration update command constructor.

Parameters

\Drupal\Console\Extension\Manager $extension_manager: Extension manager.

\Drupal\update_helper\Generator\ConfigurationUpdateGenerator $generator: Configuration update generator.

\Drupal\Console\Utils\Site $site: Site.

\Symfony\Component\EventDispatcher\EventDispatcherInterface $event_dispatcher: Event dispatcher.

File

src/Command/GenerateConfigurationUpdateCommand.php, line 78

Class

GenerateConfigurationUpdateCommand
Generate configuration update command class.

Namespace

Drupal\update_helper\Command

Code

public function __construct(Manager $extension_manager, ConfigurationUpdateGenerator $generator, Site $site, EventDispatcherInterface $event_dispatcher) {
  $this->extensionManager = $extension_manager;
  $this->generator = $generator;
  $this->site = $site;
  $this->eventDispatcher = $event_dispatcher;
  parent::__construct();
}