On Thu, 20 Jan 2011 04:09:24 -0800 (PST), Venzon <[email protected]> wrote: > @stof: As you guys mentioned before; when I call entity repository > by: > $this->get('doctrine.orm.entity_manager')- >>getRepository('HelloBundle:Test') I retrieve default repository where > only magic finders are present, no custom ones. > > How can I call then custom "Application\FtravelBundle\Repository\Test" > repository thru its related entity when > getRepository('HelloBundle:Test') gives my only default one? > > That is my main concern :(
I'm not sure you can use the short syntax there as it is a Doctrine method not a Symfny2 one. You have do use the fully qualified class name i.e. "Application\\HelloBundle\\Entity\\Test" -- 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 [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en
