public function setAuthor($author)
    {
        ObjectHelper::isInstanceOf($author, [Organization::class, PersonInterface::class]);
        
        $this->_author = $author;
        return $this;
    }
public function setAuthor($author)
    {
        ObjectHelper::isInstanceOf($author, [Organization::class, PersonInterface::class]);
        
        $this->_author = $author;
        return $this;
    }
public function setAuthor ( $ author ) { ObjectHelper :: isInstanceOf ( $ author , [ Organization :: class , PersonInterface :: class ] ) ; $ this -> _author = $ author ; return $ this ; }
The author of this content or rating. Please note that author is special in that HTML 5 provides a special
mechanism for indicating authorship via the rel tag. That is equivalent to this and may be used interchangeably.

@param Organization|Person $author
@return static
The author of this content or rating . Please note that author is special in that HTML 5 provides a special mechanism for indicating authorship via the rel tag . That is equivalent to this and may be used interchangeably .