Collection extensions based on Doctrine\Common\Collections