mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-02 20:35:50 -05:00
17 lines
399 B
PHP
17 lines
399 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Contracts\Settings;
|
|
|
|
use Illuminate\Http\UploadedFile;
|
|
|
|
interface ReplacesBrandLogo
|
|
{
|
|
/**
|
|
* Stores the upload as the panel's logo, or removes it given null, and deletes the logo it
|
|
* replaces. Returns where the new logo is served from, null once it is removed.
|
|
*/
|
|
public function replace(?UploadedFile $logo): ?string;
|
|
}
|