Please use https://github.com/willdurand/hateoas and https://github.com/willdurand/BazingaHateoasBundle instead.