toBadges() public method

public toBadges ( $id )
 /**
  * @param UserId $userId
  *
  * @return mixed
  */
 public function badgesFrom(UserId $userId)
 {
     return $this->userAdapter->toBadges($userId->id());
 }