public function setDocumentPersister(string $documentName, Persisters\DocumentPersister $persister) : void
    {
        $this->persisters[$documentName] = $persister;
    }
public function setDocumentPersister(string $documentName, Persisters\DocumentPersister $persister) : void
    {
        $this->persisters[$documentName] = $persister;
    }
public function setDocumentPersister ( string $ documentName , Persisters \ DocumentPersister $ persister ) : void { $ this -> persisters [ $ documentName ] = $ persister ; }
Set the document persister instance to use for the given document name

@internal
Set the document persister instance to use for the given document name