batch()->cancelled()) { Log::debug('Cancelling batch'); return; } Redis::rpush('members', collect([ 'member' => MemberAction::run($this->api, $this->groupId, $this->memberId), 'memberships' => MembershipsOfAction::run($this->api, $this->memberId), 'courses' => CoursesOfAction::run($this->api, $this->memberId), ])->toJson()); } }