public function setSubscriber($subscriber)
    {
        $this->_subscriber = $subscriber;

        if ($subscriber->persisted()) {
            $this->actorId = $this->_subscriber->id;
        } else {
            $this->set('actorId', PHP_INT_MAX);
        }

        $this->getRepository()->getSpace()->setSaveOrder($this, $this->_subscriber);

        return $this;
    }
public function setSubscriber($subscriber)
    {
        $this->_subscriber = $subscriber;

        if ($subscriber->persisted()) {
            $this->actorId = $this->_subscriber->id;
        } else {
            $this->set('actorId', PHP_INT_MAX);
        }

        $this->getRepository()->getSpace()->setSaveOrder($this, $this->_subscriber);

        return $this;
    }
public function setSubscriber ( $ subscriber ) { $ this -> _subscriber = $ subscriber ; if ( $ subscriber -> persisted ( ) ) { $ this -> actorId = $ this -> _subscriber -> id ; } else { $ this -> set ( 'actorId' , PHP_INT_MAX ) ; } $ this -> getRepository ( ) -> getSpace ( ) -> setSaveOrder ( $ this , $ this -> _subscriber ) ; return $ this ; }
Set the transaction person.

@param ComPeopleDomainEntityPerson $person
Set the transaction person .