public function setAuthor($author)
    {
        $this->set('author',  $author);
        $this->creationTime = AnDomainAttributeDate::getInstance();
        $this->editor = $author;
    }
public function setAuthor($author)
    {
        $this->set('author',  $author);
        $this->creationTime = AnDomainAttributeDate::getInstance();
        $this->editor = $author;
    }
public function setAuthor ( $ author ) { $ this -> set ( 'author' , $ author ) ; $ this -> creationTime = AnDomainAttributeDate :: getInstance ( ) ; $ this -> editor = $ author ; }
Set author of a node. By setting an author the editor is also set to the author. The creationTime property is also updated.

@param ComPeopleDomainEntityPerson $author The author of the entity
Set author of a node . By setting an author the editor is also set to the author . The creationTime property is also updated .