Thanks Fabien, I just read through the Bundles chapter now, and it makes sense now.
On Thu, Mar 10, 2011 at 21:12, Fabien Potencier < fabien.potenc...@symfony-project.com> wrote: > On 3/10/11 7:39 PM, Hany El-Kerdany wrote: > >> Dear All, >> >> I was reading in the Symfony2 book, specifically the controller naming >> format in the Routing chapter, and the following question keeps jumping >> in my head. The documentation mentions: >> >> The routing path: /SensioBlogBundle:Blog:show/ >> Means that the following PHP method will be executed: >> /Sensio\BlogBundle\Controller\BlogController::showAction()/ >> >> My question is, what if I have these methods in three different bundles >> .. wouldn't that result in a conflict? >> *SensioBlogBundle*\Controller\BlogController::showAction() >> *SensioBlog\Bundle*\Controller\BlogController::showAction() >> *Sensio\BlogBundle*\Controller\BlogController::showAction() >> > > No conflict can occur. SensioBlogBundle is the name of the name and there > is a one to one relation between the bundle name and its namespace. > > Moreover, from the three namespaces you mention, only one makes sense. > > Fabien > > -- >> 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 > -- 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