PHP Class App\Services\Notification\MailNotifier

Inheritance: implements App\Services\Notification\NotifierInterface
Afficher le fichier Open project: ngmy/webloyer Class Usage Examples

Protected Properties

Свойство Type Description
$from string Sender of notification.
$to string Recipient of notification.

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 ( string $to ) : App\Services\Notification\NotifierInterface 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 ( string $to ) : App\Services\Notification\NotifierInterface
$to string The recipient
Résultat App\Services\Notification\NotifierInterface Return self for chainability

Property Details

$from protected_oe property

Sender of notification.
protected string $from
Résultat string

$to protected_oe property

Recipient of notification.
protected string $to
Résultat string