21 lines
385 B
PHP
21 lines
385 B
PHP
<?php
|
|
|
|
declare(strict_types = 1);
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Models\Event;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
//use Illuminate\Database\Console\Seeds\WithoutModelEvents;
|
|
class EventSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*/
|
|
public function run(): void
|
|
{
|
|
Event::factory(config('common.seeding.model.event.count'))->create();
|
|
}
|
|
}
|