<?php

namespace MintyPHP\Service\Mail;

use MintyPHP\Repository\Mail\MailLogRepositoryInterface;

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

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

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