MemberAction::run($api, $groupId, $memberId), 'memberships' => MembershipsOfAction::run($api, $memberId), 'courses' => CoursesOfAction::run($api, $memberId), ]); if (!$redisKey) { return $fullMember; } Redis::rpush($redisKey, $fullMember->toJson()); return $fullMember; } }