adrema/app/Prevention/Contracts/Preventable.php

21 lines
370 B
PHP
Raw Normal View History

2024-07-02 22:55:37 +02:00
<?php
namespace App\Prevention\Contracts;
use App\Prevention\Enums\Prevention;
use stdClass;
interface Preventable
{
public function preventableLayout(): string;
public function preventableSubject(): string;
/**
* @return array<int, Prevention>
*/
public function preventions(): array;
public function getMailRecipient(): stdClass;
}