interface RepositoryFactory (View source)

Interface for document repository factory.

Methods

getRepository(DocumentManager $documentManager, string $documentName)

Gets the repository for a document class.

Details

getRepository(DocumentManager $documentManager, string $documentName)

Gets the repository for a document class.

Parameters

DocumentManager $documentManager
string $documentName