Last active
August 26, 2022 18:32
-
-
Save mikemix/f09e4972596eaffc1eae6e86ee8933be to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
declare(strict_types=1); | |
namespace App\Notification; | |
/** | |
* E-mail notification | |
*/ | |
interface EmailNotificationInterface extends NotificationInterface | |
{ | |
public function getTo(): EmailAddress; | |
public function getSubject(): string; | |
public function getBody(): string; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Fix:
EmailAdddress -> EmailAddress