Update GeneratorService.php

added support for Doctrine\ORM\Mapping\ManyToMany