PHP Interface App\Services\Notification\NotifierInterface

Afficher le fichier Open project: ngmy/webloyer Interface Usage Examples

Méthodes publiques

Méthode Description
from ( string $from ) : App\Services\Notification\NotifierInterface Sender of notification.
notify ( string $subject, string $message ) : void Send notification.
to ( $to ) Recipient of notification.

Method Details

from() public méthode

Sender of notification.
public from ( string $from ) : App\Services\Notification\NotifierInterface
$from string The sender
Résultat App\Services\Notification\NotifierInterface Return self for chainability

notify() public méthode

Send notification.
public notify ( string $subject, string $message ) : void
$subject string The subject of notification
$message string The message of notification
Résultat void

to() public méthode

Recipient of notification.
public to ( $to )