[issue #9] Imlement traits (php 5.4)