snippet doctrine orm