GeneratorBundle
GeneratorBundle copied to clipboard
Missing method when adding a `ManyToMany` association
When I add a ManyToMany association mapping to the Post, class between Post and Category classes, I expect the generator to add also this method :
/**
* Set tags
*
* @param \AppBundle\Entity\Tag $tags
*
* @return Category
*/
public function setTags(\AppBundle\Entity\Tag $tags = null)
{
$this->tags = $tags;
return $this;
}