Update OneToManyPersister.php

Support for generic reference