Generic doctrine media entity zf2 module.