You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
390 B
PHP
22 lines
390 B
PHP
<?php
|
|
|
|
namespace App\Services\Ticket;
|
|
|
|
interface TicketNotificationTransport
|
|
{
|
|
public function sendMail(
|
|
string $email,
|
|
string $subject,
|
|
string $template,
|
|
array $data,
|
|
?string $event = null
|
|
): void;
|
|
|
|
public function sendTelegram(
|
|
string $event,
|
|
int $ticketId,
|
|
string $title,
|
|
string $content
|
|
): void;
|
|
}
|