/**
  * @param Follower $follow
  * @param DatabaseManager $db
  */
 function __construct(Follower $follow, DatabaseManager $db)
 {
     $this->follow = $follow;
     $this->db = $db;
     parent::__construct($this->follow, $this->db);
 }
Example #2
0
 /**
  * Count following
  *
  * @return mixed
  */
 public function countFollowing()
 {
     // check that there are the informations of the follower
     $this->checkFollowerInformation();
     return $this->rallyRepository->countFollowing($this->follower);
 }