This commit is contained in:
@@ -6,6 +6,10 @@ namespace App\Notification;
|
||||
|
||||
interface NotificationInterface
|
||||
{
|
||||
static function factory(array $config): self;
|
||||
/**
|
||||
* @param string[] $config Configuration
|
||||
*/
|
||||
public static function factory(array $config): self;
|
||||
|
||||
public function send(string $title, string $message): void;
|
||||
}
|
||||
|
Reference in New Issue
Block a user