Hi Lukas, What about data objects? It doesn't make sense to create interfaces for them (except for special behaviours) - still I'd like to type hint methods using them.
Bernhard 6. Okt 2010 10:51 vorm. schrieb am "Lukas Kahwe Smith" <m...@pooteeweet.org>: Hi, I have noticed in a few code examples that people are type hinting class names. I think this is a very bad coding practice. One should only ever type hint interfaces, especially for public methods. This to me then means that for all Symfony2 services there should always be an accompanying interface. regards, Lukas Kahwe Smith m...@pooteeweet.org -- 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 symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com<symfony-devs%2bunsubscr...@googlegroups.com> 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 symfony-devs@googlegroups.com To unsubscribe from this group, send email to symfony-devs+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-devs?hl=en