A selection of php 5.4 traits that can be used to extend doctrine entities/documents