api = $api; } public function handle(): void { $this->api->confessions()->each(function ($confession) { Confession::create(['nami_id' => $confession->id, 'name' => $confession->name, 'is_null' => $this->nullName === $confession->name]); }); } }