Files
backupscript/src/Notification/NotificationInterface.php
Jens True 876702473c
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
More documentation
2023-09-19 06:34:20 +00:00

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;
}