trypost/app/Actions/Invite/DeleteInvite.php

16 lines
207 B
PHP
Raw Permalink Normal View History

<?php
declare(strict_types=1);
namespace App\Actions\Invite;
use App\Models\Invite;
class DeleteInvite
{
public static function execute(Invite $invite): void
{
$invite->delete();
}
}