Files
pterodactyl-panel/app/Contracts/Users/DeletesUsers.php
T
6c0413e39b Start 2.0 development
Co-authored-by: Anthony <anthony@infraly.co>
Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
2026-10-05 18:10:18 -04:00

19 lines
369 B
PHP

<?php
declare(strict_types=1);
namespace Pterodactyl\Contracts\Users;
use Pterodactyl\Exceptions\DisplayException;
use Pterodactyl\Models\User;
interface DeletesUsers
{
/**
* Delete a user from the panel only if they have no servers attached to their account.
*
* @throws DisplayException
*/
public function delete(User $user): ?bool;
}