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