| 1 | <?php |
||
| 8 | abstract class ApiRebooter implements ServerController |
||
| 9 | { |
||
| 10 | protected $token; |
||
| 11 | protected $server_id; |
||
| 12 | protected $host; |
||
| 13 | protected $client; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * @param string $token API Token |
||
| 17 | * @param number $server_id The ID of the server |
||
| 18 | * @param string $host The api host |
||
| 19 | * @param Client $client The guzzle client to use |
||
| 20 | */ |
||
| 21 | 36 | public function __construct($token, $server_id, $host, Client $client = null) { |
|
| 32 | } |