Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
20 lines (15 sloc) 431 Bytes
<?php
declare(strict_types=1);
namespace Doctrine\ODM\MongoDB\Repository;
use Doctrine\Common\Persistence\ObjectRepository;
use Doctrine\ODM\MongoDB\DocumentManager;
/**
* Interface for document repository factory.
*/
interface RepositoryFactory
{
/**
* Gets the repository for a document class.
*/
public function getRepository(DocumentManager $documentManager, string $documentName) : ObjectRepository;
}
You can’t perform that action at this time.