PHP 클래스 Happyr\DoctrineSpecification\RepositoryFactory
Provides an implementation of RepositoryFactory so that the
default repository type in Doctrine can easily be replaced.
파일 보기
프로젝트 열기: happyr/doctrine-specification
공개 메소드들
메소드 |
설명 |
|
getRepository ( Doctrine\ORM\EntityManagerInterface $entityManager, string $entityName ) : Doctrine\ORM\EntityRepository |
Gets the repository for an entity class. |
|
메소드 상세
Gets the repository for an entity class.
public getRepository ( Doctrine\ORM\EntityManagerInterface $entityManager, string $entityName ) : Doctrine\ORM\EntityRepository |
$entityManager |
Doctrine\ORM\EntityManagerInterface |
The EntityManager instance. |
$entityName |
string |
The name of the entity. |
리턴 |
Doctrine\ORM\EntityRepository |
|