Specifying a repository class with that annotation you'll get a repo of that
class when you do:

$repo = $entityManager->getRepository('Your/Entity/Class');

That way you can have a repository with custom methods for that specific
entity.



2011/4/8 kassel <alvaro.tou...@gmail.com>

> Yes from there i'm read, and i need to undertood wht's do it, exactly
> or approximatle
> thsnks
>
> On Apr 8, 10:28 pm, Christophe COEVOET <s...@notk.org> wrote:
> > Le 08/04/2011 22:22, kassel a crit :> Hi all,
> > > I've want to know the means of
> > > @orm:Entity(repositoryClass="Acme\MyBundle\Entity\UserRepository")
> >
> > > at Entity header
> >
> > This is Doctrine annotations. Read the Doctrine doc about it:
> http://www.doctrine-project.org/docs/orm/2.0/en/index.html
> >
> > --
> > Christophe | Stof
>
> --
> If you want to report a vulnerability issue on symfony, please send it to
> security at symfony-project.com
>
> You received this message because you are subscribed to the Google
> Groups "symfony users" group.
> To post to this group, send email to symfony-users@googlegroups.com
> To unsubscribe from this group, send email to
> symfony-users+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/symfony-users?hl=en
>

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to symfony-users@googlegroups.com
To unsubscribe from this group, send email to
symfony-users+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to