Hi, You already have $this->generateUrl() method.
Cheers. -------- Message d'origine-------- De: [email protected] de la part de rihad Date: lun. 24/10/2011 08:56 À: Symfony developers Objet : [symfony-devs] getRouter() instead of get('router') Why the dynamic $url = $this->get('router')->generate(...) Why not getRouter()? A typo can thus be caught at compile time, not at runtime! This concerns all entities in the container. I can see that getRequest() & getDoctrine() do exist. -- 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 developers" 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-devs?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 developers" 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-devs?hl=en
<<winmail.dat>>
