public function removeFollower($follower)
    {
        $leader = $this->_mixer;

        if ($leader->isSubscribable()) {
            $leader->removeSubscriber($follower);
        }

        $this->removeNodeSubscriptions($leader, $follower);

        if ($leader->isAdministrable()) {
            $leader->removeAdministrator($follower);
        }

        $this->getService('repos:actors.follow')
        ->destroy(array(
            'follower' => $follower,
            'leader' => $leader,
        ));

        $this->resetStats(array($leader, $follower));
    }
public function removeFollower($follower)
    {
        $leader = $this->_mixer;

        if ($leader->isSubscribable()) {
            $leader->removeSubscriber($follower);
        }

        $this->removeNodeSubscriptions($leader, $follower);

        if ($leader->isAdministrable()) {
            $leader->removeAdministrator($follower);
        }

        $this->getService('repos:actors.follow')
        ->destroy(array(
            'follower' => $follower,
            'leader' => $leader,
        ));

        $this->resetStats(array($leader, $follower));
    }
public function removeFollower ( $ follower ) { $ leader = $ this -> _mixer ; if ( $ leader -> isSubscribable ( ) ) { $ leader -> removeSubscriber ( $ follower ) ; } $ this -> removeNodeSubscriptions ( $ leader , $ follower ) ; if ( $ leader -> isAdministrable ( ) ) { $ leader -> removeAdministrator ( $ follower ) ; } $ this -> getService ( 'repos:actors.follow' ) -> destroy ( array ( 'follower' => $ follower , 'leader' => $ leader , ) ) ; $ this -> resetStats ( array ( $ leader , $ follower ) ) ; }
Remove an actor to from list of the followers. If the
leader is subscribable then it will remove the follower from the list
of it's subscribers.

@param ComActorsDomainEntityActor $follower
Remove an actor to from list of the followers . If the leader is subscribable then it will remove the follower from the list of it s subscribers .