<?php

namespace App\Checklist;

use App\Contracts\GoLiveChecklist;
use App\Facades\Settings;

class FormEmailRecipients extends GoLiveChecklist
{
    public function category(): string
    {
        return GoLiveChecklist::CONFIGURATION;
    }

    public function key(): string
    {
        return 'form_email_recipients';
    }

    public function handle(): bool
    {
        // TODO: check if site domains are in theme file on server
        return !empty(Settings::get('app-name'));
    }
}
