/** * Check if the user is following the other user. * * @param User $follower * @param User $user * @return bool */ public function isFollowing(User $follower, User $user) { return $this->repository->findFollower($follower, $user) !== null; }
/** * Check if the user is following the other user. * * @param User $follower * @param User $user * @return bool */ public function isFollowing(User $follower, User $user) { return $this->repository->findFollower($follower, $user) !== null; }