wip(ISP config connections and command)
This commit is contained in:
19
app/Services/ISPConfig/ISPConfigWebService.php
Normal file
19
app/Services/ISPConfig/ISPConfigWebService.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace App\Services\ISPConfig;
|
||||
|
||||
class ISPConfigWebService extends ISPConfigService
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
parent::__construct('web_server');
|
||||
}
|
||||
|
||||
/**
|
||||
* @throws \Exception
|
||||
*/
|
||||
public function getAllWebsites(): array
|
||||
{
|
||||
return $this->call('sites_web_domain_get', [['primary_id' => -1]]);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user