Using Traits in Doctrine Entities

Hi guys,
thanks for reading this article.

I totally agree with Michael’s answer concerning an XML or YAML mapping.
Do not forget: a trait is not an existing thing per se, it’s an equivalent copy-pasted code that can be reused in different classes.

@michaelperrin: this Doctrine feature is awesome! Thank you for the information.