doctrine/doctrine2 — pull request #421 by Inori (2012-08-10 10:48:52+00:00)
Title: Add a check for contains into addMethod generator

This will help ensure that collection doesn't contain duplicates.