PHP 인터페이스 App\Services\Notification\NotifierInterface

파일 보기 프로젝트 열기: ngmy/webloyer 0 사용 예제들

공개 메소드들

메소드 설명
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 )