add exceptions, fix auth, implement response, sanitize recipient and sender

This commit is contained in:
2022-06-24 14:35:17 +02:00
parent 0cdfd0185b
commit 50cf733101
17 changed files with 286 additions and 76 deletions

View File

@ -21,9 +21,9 @@ use D3\LinkmobilityClient\ValueObject\Recipient;
interface RecipientsListInterface
{
public function add(Recipient $recipient);
public function add(Recipient $recipient) : RecipientsListInterface;
public function clearRecipents();
public function clearRecipents() : RecipientsListInterface;
public function getRecipients() : array;
}