/** * Finds all users for the given account. * * @param int $accountId * * @return array */ public function findUsersByAccount($accountId, $sortBy = []) { return $this->userRepository->findUsersByAccount($accountId, $sortBy); }
/** * Finds all users for the given account. * * @param int $accountId * * @return array */ public function findUsersByAccount($accountId) { return $this->userRepository->findUsersByAccount($accountId); }