<?php

namespace MintyPHP\Service\Mail;

use MintyPHP\Repository\Mail\MailLogRepository;

class MailLogService
{
    public function __construct(private readonly MailLogRepository $mailLogRepository)
    {
    }

    public function listPaged(array $options): array
    {
        return $this->mailLogRepository->listPaged($options);
    }

    public function find(int $id): ?array
    {
        return $this->mailLogRepository->find($id);
    }
}
