All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
19 lines
331 B
PHP
19 lines
331 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace App\Notification;
|
|
|
|
interface NotificationInterface
|
|
{
|
|
/**
|
|
* @param string[] $config Configuration
|
|
*/
|
|
public static function factory(array $config): self;
|
|
|
|
/**
|
|
* @throw Exception on error.
|
|
*/
|
|
public function send(string $title, string $message): void;
|
|
}
|