public function setArticle(\Sdz\BlogBundle\Entity\Article $article) { $article->addArticleCompetence($this); $this->article = $article; }