Fixed returning custom repository name from annotation
This commit is contained in:
parent
47440b59bb
commit
f6444d7fbc
1 changed files with 1 additions and 0 deletions
|
|
@ -66,6 +66,7 @@ class RepositoryManager implements RepositoryManagerInterface
|
|||
if ($annotation) {
|
||||
$this->entities[$realEntityName]['repositoryName']
|
||||
= $annotation->repositoryClass;
|
||||
return $annotation->repositoryClass;
|
||||
}
|
||||
|
||||
return 'FOQ\ElasticaBundle\Repository';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue