You are here

public function FeaturesCommands::__construct in Features 8.4

Same name and namespace in other branches
  1. 8.3 src/Commands/FeaturesCommands.php \Drupal\features\Commands\FeaturesCommands::__construct()

FeaturesCommands constructor.

Parameters

\Drupal\features\FeaturesAssignerInterface $assigner: The features_assigner service.

\Drupal\features\FeaturesManagerInterface $manager: The features.manager service.

\Drupal\features\FeaturesGeneratorInterface $generator: The features_generator service.

\Drupal\config_update\ConfigDiffInterface $configDiff: The config_update.config_diff service.

\Drupal\Core\Config\StorageInterface $configStorage: The config.storage service.

File

src/Commands/FeaturesCommands.php, line 107

Class

FeaturesCommands
Drush commands for Features.

Namespace

Drupal\features\Commands

Code

public function __construct(FeaturesAssignerInterface $assigner, FeaturesManagerInterface $manager, FeaturesGeneratorInterface $generator, ConfigDiffInterface $configDiff, StorageInterface $configStorage) {
  parent::__construct();
  $this->assigner = $assigner;
  $this->configDiff = $configDiff;
  $this->configStorage = $configStorage;
  $this->generator = $generator;
  $this->manager = $manager;
}