Mouf is getting traits injection support

Mouf 2 final release is approaching. Today, Mouf is getting support for injection in properties or setters defined in traits (that have been added in PHP 5.4).

Adding support for traits was less straightforward that initially thought (due to a strange behaviour of the Reflection API), but we hopefully found a workaround. You can now use a trait in your class and inject dependencies via the setter or public properties defined in this trait!