<?php

namespace Core\App\Cron\Tasks;

use Core\App\Cron\CronTaskInterface;
use Core\App\Services\MeetingReminderService;

class SendMeetingRemindersTask implements CronTaskInterface
{
    public function name(): string
    {
        return 'send_meeting_reminders';
    }

    public function run(): array
    {
        return (new MeetingReminderService())->run('cron');
    }
}
