for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
namespace Doctrine\ODM\MongoDB\Repository;
use Doctrine\ODM\MongoDB\DocumentManager;
use Doctrine\Persistence\ObjectRepository;
/**
* Interface for document repository factory.
*/
interface RepositoryFactory
{
* Gets the repository for a document class.
public function getRepository(DocumentManager $documentManager, string $documentName) : ObjectRepository;
}