public function updateAccount($gitkitAccount) {
    $data = array(
      'email' => $gitkitAccount->getEmail(),
      'localId' => $gitkitAccount->getUserId(),
      'displayName' => $gitkitAccount->getDisplayName(),
      'emailVerified' => $gitkitAccount->isEmailVerified(),
      'photoUrl' => $gitkitAccount->getPhotoUrl()
    );
    return $this->invokeGitkitApiWithServiceAccount('setAccountInfo', $data);
  }
public function updateAccount($gitkitAccount) {
    $data = array(
      'email' => $gitkitAccount->getEmail(),
      'localId' => $gitkitAccount->getUserId(),
      'displayName' => $gitkitAccount->getDisplayName(),
      'emailVerified' => $gitkitAccount->isEmailVerified(),
      'photoUrl' => $gitkitAccount->getPhotoUrl()
    );
    return $this->invokeGitkitApiWithServiceAccount('setAccountInfo', $data);
  }
public function updateAccount ( $ gitkitAccount ) { $ data = array ( 'email' => $ gitkitAccount -> getEmail ( ) , 'localId' => $ gitkitAccount -> getUserId ( ) , 'displayName' => $ gitkitAccount -> getDisplayName ( ) , 'emailVerified' => $ gitkitAccount -> isEmailVerified ( ) , 'photoUrl' => $ gitkitAccount -> getPhotoUrl ( ) ) ; return $ this -> invokeGitkitApiWithServiceAccount ( 'setAccountInfo' , $ data ) ; }
Invokes the SetAccountInfo API.

@param Gitkit_Account $gitkitAccount account info to be updated
@return array updated account info
Invokes the SetAccountInfo API .