public function AllDocsFactory::get in Replication 8
Same name and namespace in other branches
- 8.2 src/AllDocsFactory.php \Drupal\replication\AllDocsFactory::get()
@inheritDoc
Overrides BulkDocsFactoryInterface::get
File
- src/
AllDocsFactory.php, line 43
Class
Namespace
Drupal\replicationCode
public function get(WorkspaceInterface $workspace) {
if (!isset($this->instances[$workspace
->id()])) {
$this->instances[$workspace
->id()] = new AllDocs($this->entityTypeManager, $this->multiversionManager, $workspace, $this->entityIndex, $this->serializer);
}
return $this->instances[$workspace
->id()];
}