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