24 lines
653 B
PHP
24 lines
653 B
PHP
<?php
|
|
|
|
namespace Database\Seeders;
|
|
|
|
use App\Set\CreateSetDto;
|
|
use App\Set\SetRepository;
|
|
use Illuminate\Database\Seeder;
|
|
|
|
class SetSeeder extends Seeder
|
|
{
|
|
public function run(): void
|
|
{
|
|
$setRepository = app(SetRepository::class);
|
|
$title = 'Baderech HaAvodah';
|
|
|
|
$set = $setRepository->create(new CreateSetDto(
|
|
name: $title,
|
|
description: 'Baderech HaAvodah is a way of living - '
|
|
. 'a structured path for inner and outer growth, '
|
|
. 'spiritual refinement, and personal development.',
|
|
iconImageUrl: '/assets/baderech-haavodah-icon.svg',
|
|
));
|
|
}
|
|
}
|