You are here

public function AllDocsFactory::__construct in Replication 8

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

Constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:

\Drupal\multiversion\MultiversionManagerInterface $multiversion_manager:

\Drupal\multiversion\Entity\Index\EntityIndexInterface $entity_index:

\Symfony\Component\Serializer\SerializerInterface $serializer:

File

src/AllDocsFactory.php, line 33

Class

AllDocsFactory

Namespace

Drupal\replication

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager, MultiversionManagerInterface $multiversion_manager, EntityIndexInterface $entity_index, SerializerInterface $serializer) {
  $this->entityTypeManager = $entity_type_manager;
  $this->multiversionManager = $multiversion_manager;
  $this->entityIndex = $entity_index;
  $this->serializer = $serializer;
}