from() public method

Sender of notification.
public from ( string $from ) : App\Services\Notification\NotifierInterface
$from string The sender
return App\Services\Notification\NotifierInterface Return self for chainability
Example #1
0
 public function test_Should_SetFromAddressAndReturnThis()
 {
     $notifier = new MailNotifier();
     $result = $notifier->from('*****@*****.**');
     $this->assertEquals($notifier, $result);
 }