Entity repository generator default repository

1) I set default repository class in configuration to MyApp\Doctrine\DefaultRepository
2) I created entity class MyApp\Entity\TestEntity and generated repository class for it
3) Actually the repository class "MyApp\Entity\TestEntityRepository" turned out to be a descendant of "Doctrine\ORM\EntityRepository" when I expected "MyApp\Doctrine\DefaultRepository" as default.
Thanks!

Marco Pivetta

http://twitter.com/Ocramius

http://ocramius.github.com/


On 27 July 2014 19:18, encoder32 <notifications@github.com> wrote:

> In lib/Doctrine/ORM/Tools/EntityRepositoryGenerator.php:
>
> > @@ -74,14 +75,28 @@ public function generateEntityRepositoryClass($fullClassName)
> >       *
> >       * @return string $namespace
> >       */
> > -    private function generateEntityRepositoryNamespace($fullClassName)
> > +    protected function generateEntityRepositoryNamespace($fullClassName)
>
> @Ocramius <https://github.com/Ocramius> reverted
>
> —
> Reply to this email directly or view it on GitHub
> <https://github.com/doctrine/doctrine2/pull/1089/files#r15440342>.
>