2017-08-26 18:08:11 -05:00
|
|
|
<?php
|
|
|
|
|
|
|
|
namespace Pterodactyl\Contracts\Repository\Daemon;
|
|
|
|
|
2018-01-05 18:27:47 -06:00
|
|
|
use Psr\Http\Message\ResponseInterface;
|
|
|
|
|
2019-09-05 20:33:27 -07:00
|
|
|
/**
|
|
|
|
* @deprecated
|
|
|
|
*/
|
2017-08-26 18:08:11 -05:00
|
|
|
interface CommandRepositoryInterface extends BaseRepositoryInterface
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* Send a command to a server.
|
|
|
|
*
|
|
|
|
* @param string $command
|
|
|
|
* @return \Psr\Http\Message\ResponseInterface
|
|
|
|
*/
|
2018-01-05 18:27:47 -06:00
|
|
|
public function send(string $command): ResponseInterface;
|
2017-08-26 18:08:11 -05:00
|
|
|
}
|