PHP Интерфейс App\Services\Notification\NotifierInterface

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
from ( string $from ) : App\Services\Notification\NotifierInterface Sender of notification.
notify ( string $subject, string $message ) : void Send notification.
to ( $to ) Recipient of notification.

Описание методов

from() публичный Метод

Sender of notification.
public from ( string $from ) : App\Services\Notification\NotifierInterface
$from string The sender
Результат App\Services\Notification\NotifierInterface Return self for chainability

notify() публичный Метод

Send notification.
public notify ( string $subject, string $message ) : void
$subject string The subject of notification
$message string The message of notification
Результат void

to() публичный Метод

Recipient of notification.
public to ( $to )