<?php
namespace Database\Seeders;

use App\Models\PensionCase\SarFirm;
use Illuminate\Database\Seeder;

class SarFirmSeeder extends Seeder
{
    public function run(): void
    {
        foreach (config('pension_case_options.sar_to', []) as $name) {
            SarFirm::firstOrCreate([
                'name' => trim($name),
            ]);
        }
    }
}