misc_pterodactyl-panel/app/Contracts/Repository/Daemon/CommandRepositoryInterface.php

17 lines
374 B
PHP
Raw Normal View History

<?php
namespace Pterodactyl\Contracts\Repository\Daemon;
use Psr\Http\Message\ResponseInterface;
interface CommandRepositoryInterface extends BaseRepositoryInterface
{
/**
* Send a command to a server.
*
* @param string $command
* @return \Psr\Http\Message\ResponseInterface
*/
public function send(string $command): ResponseInterface;
}