id; } public function addComment(Comment $comment) { $comment->setArticle($this); $this->comments[] = $comment; } public function getComments() { return $this->comments; } public function setTitle($title) { $this->title = $title; } public function getTitle() { return $this->title; } public function setContent($content) { $this->content = $content; } public function getContent() { return $this->content; } public function setTranslatableLocale($locale) { $this->locale = $locale; } public function setViews ($views) { $this->views = $views; } public function getViews () { return $this->views; } public function setAuthor($author) { $this->author = $author; } public function getAuthor() { return $this->author; } }