You are here

public function Importer::__construct in GatherContent 8.4

Importer.

File

src/Import/Importer.php, line 40

Class

Importer
Class for handling import/update logic from GatherContent to Drupal.

Namespace

Drupal\gathercontent\Import

Code

public function __construct(GatherContentClientInterface $client, ContentProcessor $contentProcessor, EventDispatcherInterface $eventDispatcher) {
  $this->client = $client;
  $this->contentProcessor = $contentProcessor;
  $this->eventDispatcher = $eventDispatcher;
}