forked from fa/breadcrumb-the-shire
23 lines
467 B
PHP
23 lines
467 B
PHP
<?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);
|
|
}
|
|
}
|