communicationLogs = $communicationLogs; } public function handle() { foreach ($this->communicationLogs as $log) { CommunicationLog::create($log); } } }