public function BulkDocsFactory::get in Replication 8.2
Same name and namespace in other branches
- 8 src/BulkDocsFactory.php \Drupal\replication\BulkDocsFactory::get()
@inheritDoc
Overrides BulkDocsFactoryInterface::get
File
- src/
BulkDocsFactory.php, line 82
Class
Namespace
Drupal\replicationCode
public function get(WorkspaceInterface $workspace) {
if (!isset($this->instances[$workspace
->id()])) {
$this->instances[$workspace
->id()] = new BulkDocs($this->workspaceManager, $workspace, $this->uuidIndex, $this->revIndex, $this->entityTypeManager, $this->lock, $this->logger, $this->state);
}
return $this->instances[$workspace
->id()];
}