29 lines
881 B
PHP
29 lines
881 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);
|
|
$baderechTitle = 'Baderech HaAvodah';
|
|
|
|
$setRepository->create(new CreateSetDto(
|
|
name: $baderechTitle,
|
|
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.png',
|
|
));
|
|
$setRepository->create(new CreateSetDto(
|
|
name: 'Daily Learning',
|
|
description: 'Daily learning for steady growth',
|
|
iconImageUrl: '/assets/daily-learning-icon.svg',
|
|
));
|
|
}
|
|
}
|