You are here

public function ConfigSplitCliService::__construct in Configuration Split 2.0.x

Same name and namespace in other branches
  1. 8 src/ConfigSplitCliService.php \Drupal\config_split\ConfigSplitCliService::__construct()

Constructor.

File

src/ConfigSplitCliService.php, line 78

Class

ConfigSplitCliService
The CLI service class for interoperability.

Namespace

Drupal\config_split

Code

public function __construct(ConfigSplitManager $manager, StorageInterface $activeStorage, StorageInterface $syncStorage, StatusOverride $statusOverride) {
  $this->manager = $manager;
  $this->activeStorage = $activeStorage;
  $this->syncStorage = $syncStorage;
  $this->statusOverride = $statusOverride;
  $this->errors = [];
}