public function increaseCommentCount() { if ($this->comment_count != null) { $this->comment_count++; } else { $this->comment_count = 1; } $this->save(); }