/** * Gets the post name. This is just an alias for the topic->getTitle method. * @return string The post name. */ public function getName() { return $this->topic->getTitle(); }