3 namespace Wallabag\CoreBundle\Event\Activity\Actions\Federation
;
5 use Wallabag\FederationBundle\Entity\Account
;
8 * This event is fired as soon as an account is being unfollowed
10 class UnfollowEvent
extends FederationEvent
12 const NAME
= 'federation.unfollow';
16 public function __construct(Account
$accountFollowed, Account
$follower)
18 parent
::__construct($accountFollowed);
19 $this->follower
= $follower;
25 public function getFollower()
27 return $this->follower
;
31 * @param Account $follower
32 * @return UnfollowEvent
34 public function setFollower(Account
$follower)
36 $this->follower
= $follower;