You are here

public function InternalReplicator::__construct in Workspace 8

Parameters

WorkspaceManagerInterface $workspace_manager:

EntityTypeManagerInterface $entity_type_manager:

ChangesFactoryInterface $changes_factory:

RevisionDiffFactoryInterface $revisiondiff_factory:

RevisionIndexInterface $rev_index:

SerializerInterface $serializer:

LoggerChannelFactoryInterface $logger;:

File

src/InternalReplicator.php, line 74

Class

InternalReplicator
A replicator within the current Drupal runtime.

Namespace

Drupal\workspace

Code

public function __construct(WorkspaceManagerInterface $workspace_manager, EntityTypeManagerInterface $entity_type_manager, ChangesFactoryInterface $changes_factory, RevisionDiffFactoryInterface $revisiondiff_factory, RevisionIndexInterface $rev_index, SerializerInterface $serializer, LoggerChannelFactoryInterface $logger) {
  $this->workspaceManager = $workspace_manager;
  $this->entityTypeManager = $entity_type_manager;
  $this->changesFactory = $changes_factory;
  $this->revisionDiffFactory = $revisiondiff_factory;
  $this->revIndex = $rev_index;
  $this->serializer = $serializer;
  $this->logger = $logger
    ->get('workspace');
}