PHP 클래스 App\Services\Notification\MailNotifier

상속: implements App\Services\Notification\NotifierInterface
파일 보기 프로젝트 열기: ngmy/webloyer 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$from string Sender of notification.
$to string Recipient of notification.

공개 메소드들

메소드 설명
from ( string $from ) : App\Services\Notification\NotifierInterface Sender of notification.
notify ( string $subject, string $message ) : void Send notification.
to ( string $to ) : App\Services\Notification\NotifierInterface 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 ( string $to ) : App\Services\Notification\NotifierInterface
$to string The recipient
리턴 App\Services\Notification\NotifierInterface Return self for chainability

프로퍼티 상세

$from 보호되어 있는 프로퍼티

Sender of notification.
protected string $from
리턴 string

$to 보호되어 있는 프로퍼티

Recipient of notification.
protected string $to
리턴 string