mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
19 lines
324 B
PHP
19 lines
324 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Contracts\Users;
|
|
|
|
use Pterodactyl\Exceptions\DisplayException;
|
|
use Pterodactyl\Models\User;
|
|
|
|
interface DeletesUsers
|
|
{
|
|
/**
|
|
* A user who owns servers is not deleted.
|
|
*
|
|
* @throws DisplayException
|
|
*/
|
|
public function delete(User $user): ?bool;
|
|
}
|