public function getDefaultTopicCoverAttribute() { if ($this->_defaultTopicCover === null) { $this->_defaultTopicCover = new ForumDefaultTopicCover($this->id, $this->default_topic_cover_json); } return $this->_defaultTopicCover; }