public function author()
    {
        $author = ! empty($this->entity->author_alias)
            ? $this->entity->author_alias
            : $this->entity->createdByName;

        return $author ?? config('site.author');
    }
public function author()
    {
        $author = ! empty($this->entity->author_alias)
            ? $this->entity->author_alias
            : $this->entity->createdByName;

        return $author ?? config('site.author');
    }
public function author ( ) { $ author = ! empty ( $ this -> entity -> author_alias ) ? $ this -> entity -> author_alias : $ this -> entity -> createdByName ; return $ author ?? config ( 'site.author' ) ; }
Get article's author name.

@return string
Get article s author name .