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
[email protected]



-- 
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

Reply via email to