public function addSubscriber($person)
    {
        if ($this->eql($person)) {
            return false;
        }

        if($this->subscribed($person)){
           return false;
        }

        $subscription = $this->subscriptions->findOrAddNew(array(
            'subscriber' => $person,
        ))->setData(array(
            'component' => $this->component,
            'author' => $person,
        ), AnDomain::ACCESS_PROTECTED);

        return $this->_mixer;
    }
public function addSubscriber($person)
    {
        if ($this->eql($person)) {
            return false;
        }

        if($this->subscribed($person)){
           return false;
        }

        $subscription = $this->subscriptions->findOrAddNew(array(
            'subscriber' => $person,
        ))->setData(array(
            'component' => $this->component,
            'author' => $person,
        ), AnDomain::ACCESS_PROTECTED);

        return $this->_mixer;
    }
public function addSubscriber ( $ person ) { if ( $ this -> eql ( $ person ) ) { return false ; } if ( $ this -> subscribed ( $ person ) ) { return false ; } $ subscription = $ this -> subscriptions -> findOrAddNew ( array ( 'subscriber' => $ person , ) ) -> setData ( array ( 'component' => $ this -> component , 'author' => $ person , ) , AnDomain :: ACCESS_PROTECTED ) ; return $ this -> _mixer ; }
Adds a person as the subscriber.

@param ComPeopleDomainEntityPerson $person Subscriber
Adds a person as the subscriber .