mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-01 11:55:51 -05:00
19 lines
381 B
PHP
19 lines
381 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Contracts\Databases;
|
|
|
|
use Pterodactyl\Exceptions\Service\HasActiveServersException;
|
|
use Pterodactyl\Models\DatabaseHost;
|
|
|
|
interface DeletesDatabaseHosts
|
|
{
|
|
/**
|
|
* A host with databases on it is not deleted.
|
|
*
|
|
* @throws HasActiveServersException
|
|
*/
|
|
public function delete(DatabaseHost $host): void;
|
|
}
|