src/Model/Comment.php
public function getAuthorName()
    {
        if ($this->Name) {
            return $this->Name;
        } elseif ($author = $this->Author()) {
            return $author->getName();
        }
    }
public function getAuthorName()
    {
        if ($this->Name) {
            return $this->Name;
        } elseif ($author = $this->Author()) {
            return $author->getName();
        }
    }
public function getAuthorName ( ) { if ( $ this -> Name ) { return $ this -> Name ; } elseif ( $ author = $ this -> Author ( ) ) { return $ author -> getName ( ) ; } }
Return the authors name for the comment

@return string
Return the authors name for the comment