I\'m creating projects with Symfony2/Doctrine and try to implement traits.
So far no problem on small tryouts, but I usually do UML class and sequence diagrams before deep i
In the earliest paper that I've seen Roles/Traits explained, they are represented in UML with a line connecting the Role/Trait to the method/function inside the class. http://scg.unibe.ch/archive/papers/Scha03aTraits.pdf