You are here

public function Changes::__construct in Replication 8

Same name and namespace in other branches
  1. 8.2 src/Changes/Changes.php \Drupal\replication\Changes\Changes::__construct()

Parameters

\Drupal\multiversion\Entity\Index\SequenceIndexInterface $sequence_index:

\Drupal\multiversion\Entity\WorkspaceInterface $workspace:

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:

\Symfony\Component\Serializer\SerializerInterface $serializer:

\Drupal\replication\Plugin\ReplicationFilterManagerInterface $filter_manager:

File

src/Changes/Changes.php, line 96

Class

Changes

Namespace

Drupal\replication\Changes

Code

public function __construct(SequenceIndexInterface $sequence_index, WorkspaceInterface $workspace, EntityTypeManagerInterface $entity_type_manager, SerializerInterface $serializer, ReplicationFilterManagerInterface $filter_manager) {
  $this->sequenceIndex = $sequence_index;
  $this->workspaceId = $workspace
    ->id();
  $this->entityTypeManager = $entity_type_manager;
  $this->serializer = $serializer;
  $this->filterManager = $filter_manager;
}