public function addTag(\Sulu\Bundle\TagBundle\Entity\Tag $tags) { $this->tags[] = $tags; return $this; }