Repo Interface für tests
This commit is contained in:
16
lib/Repository/Mail/MailLogRepositoryInterface.php
Normal file
16
lib/Repository/Mail/MailLogRepositoryInterface.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace MintyPHP\Repository\Mail;
|
||||
|
||||
interface MailLogRepositoryInterface
|
||||
{
|
||||
public function create(array $data): ?int;
|
||||
|
||||
public function markSent(int $id, ?string $providerMessageId = null): bool;
|
||||
|
||||
public function markFailed(int $id, string $errorMessage): bool;
|
||||
|
||||
public function listPaged(array $options): array;
|
||||
|
||||
public function find(int $id): ?array;
|
||||
}
|
||||
Reference in New Issue
Block a user