public function vote() { if ($this->_vote === null) { $this->_vote = new TopicVote($this); } return $this->_vote; }