Files
breadcrumb-the-shire/lib/Service/Mail/MailLogService.php

23 lines
467 B
PHP
Raw Normal View History

2026-02-04 23:31:53 +01:00
<?php
2026-02-11 19:28:12 +01:00
namespace MintyPHP\Service\Mail;
2026-02-04 23:31:53 +01:00
2026-03-05 08:26:51 +01:00
use MintyPHP\Repository\Mail\MailLogRepositoryInterface;
2026-02-04 23:31:53 +01:00
class MailLogService
{
2026-03-05 08:26:51 +01:00
public function __construct(private readonly MailLogRepositoryInterface $mailLogRepository)
2026-02-04 23:31:53 +01:00
{
}
2026-02-23 12:58:19 +01:00
public function listPaged(array $options): array
2026-02-04 23:31:53 +01:00
{
2026-02-23 12:58:19 +01:00
return $this->mailLogRepository->listPaged($options);
}
public function find(int $id): ?array
{
return $this->mailLogRepository->find($id);
2026-02-04 23:31:53 +01:00
}
}