/** * @param int $groupId * @param int $userId * @param string $role */ public function updateMembership($groupId, $userId, $role) { $this->client->updateGroupUser($groupId, $userId, $role); $this->queue->addGroupToQueue($groupId); }