RepositoryFactory
last analyzed

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
dl 0
loc 7
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
getRepository() 0 1 ?
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Doctrine\ODM\MongoDB\Repository;
6
7
use Doctrine\ODM\MongoDB\DocumentManager;
8
use Doctrine\Persistence\ObjectRepository;
9
10
/**
11
 * Interface for document repository factory.
12
 */
13
interface RepositoryFactory
14
{
15
    /**
16
     * Gets the repository for a document class.
17
     */
18
    public function getRepository(DocumentManager $documentManager, string $documentName) : ObjectRepository;
19
}
20