portal.mkgtu.ru/common/services/messagesDeliver/ICanDeliverMessage.php

21 lines
272 B
PHP
Raw Permalink Normal View History

2024-03-28 09:51:45 +03:00
<?php
namespace common\services\messagesDeliver;
use common\models\User;
interface ICanDeliverMessage
{
public function setRecipient(User $recipient): ICanDeliverMessage;
public function deliverMessage(string $title, string $message): array;
}