mirror of
https://github.com/pterodactyl/panel.git
synced 2026-12-03 21:05:45 -05:00
Co-authored-by: Anthony <anthony@infraly.co> Co-authored-by: Sky Mulley <daniel.mulley@outlook.com>
27 lines
598 B
PHP
27 lines
598 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Pterodactyl\Facades;
|
|
|
|
use Illuminate\Support\Facades\Facade;
|
|
use Pterodactyl\Models\Node;
|
|
use Pterodactyl\Models\Server;
|
|
use Pterodactyl\Services\Daemon\DaemonManager;
|
|
use Pterodactyl\Services\Daemon\NodeClient;
|
|
use Pterodactyl\Services\Daemon\ServerClient;
|
|
|
|
/**
|
|
* @method static ServerClient server(Server $server, Node|null $node = null)
|
|
* @method static NodeClient node(Node $node)
|
|
*
|
|
* @see DaemonManager
|
|
*/
|
|
class Daemon extends Facade
|
|
{
|
|
protected static function getFacadeAccessor(): string
|
|
{
|
|
return DaemonManager::class;
|
|
}
|
|
}
|