mirror of
https://github.com/miguel456/php-http-virtualmin-api
synced 2023-07-28 01:52:31 +00:00
update namespaces
This commit is contained in:
parent
87738c7a85
commit
cb04da36ee
@ -3,6 +3,8 @@ namespace Nilemin\Virtualmin\Managers\Account\Email;
|
||||
|
||||
/**
|
||||
* @author Tsvetelin Tsonev <github.tsonev@yahoo.com>
|
||||
*
|
||||
**/
|
||||
interface EmailManagerInterface {
|
||||
/**
|
||||
* Creates email account.
|
||||
|
@ -1,13 +1,13 @@
|
||||
<?php
|
||||
namespace Nilemin\Virtualmin\Managers\Cron;
|
||||
|
||||
use Nilemin\Virtualmin\BaseManager;
|
||||
use Nilemin\Virtualmin\Managers\BaseManager;
|
||||
use Nilemin\Virtualmin\Http\HttpClientInterface;
|
||||
|
||||
/**
|
||||
* @author Tsvetelin Tsonev <github.tsonev@yahoo.com>
|
||||
*/
|
||||
class CronManager extends BaseManager implements CronManagerInterface, CronManagerInterface {
|
||||
class CronManager extends BaseManager implements CronManagerInterface {
|
||||
|
||||
/**
|
||||
* CronManager constructor.
|
||||
|
@ -2,7 +2,8 @@
|
||||
namespace Nilemin\Virtualmin\Managers\DNS;
|
||||
|
||||
use Nilemin\Virtualmin\Http\HttpClient;
|
||||
use Nilemin\Manager\BaseManager;
|
||||
use Nilemin\Virtualmin\Http\HttpClientInterface;
|
||||
use Nilemin\Virtualmin\Managers\BaseManager;
|
||||
use Nilet\Components\Configuration\Config;
|
||||
|
||||
/**
|
||||
@ -38,7 +39,7 @@ class DNSManager extends BaseManager implements DNSManagerInterface {
|
||||
* @param HttpClient $httpClient
|
||||
* @param Config $config
|
||||
*/
|
||||
public function __construct(HttpClient $httpClient, Config $config) {
|
||||
public function __construct(HttpClientInterface $httpClient, Config $config) {
|
||||
parent::__construct($httpClient, $config);
|
||||
}
|
||||
|
||||
|
@ -2,7 +2,7 @@
|
||||
namespace Nilemin\Virtualmin\Managers\Database;
|
||||
|
||||
use Nilemin\Virtualmin\Http\HttpClientInterface;
|
||||
use Nilemin\Manager\BaseManager;
|
||||
use Nilemin\Virtualmin\Managers\BaseManager;
|
||||
use Nilemin\Virtualmin\Entities\Database;
|
||||
|
||||
/**
|
||||
|
@ -2,13 +2,13 @@
|
||||
namespace Nilemin\Virtualmin\Managers\PHP;
|
||||
|
||||
use Nilemin\Virtualmin\Http\HttpClientInterface;
|
||||
use Nilemin\Manager\BaseManager;
|
||||
use Nilemin\Virtualmin\Managers\BaseManager;
|
||||
use Nilemin\Virtualmin\Entities\PHPDirectory;
|
||||
|
||||
/**
|
||||
* @author Tsvetelin Tsonev <github.tsonev@yahoo.com>
|
||||
*/
|
||||
class PHPManager extends BaseManager implements PHPManagerInterface, PHPManagerInterface {
|
||||
class PHPManager extends BaseManager implements PHPManagerInterface {
|
||||
|
||||
public function __construct(HttpClientInterface $httpClient) {
|
||||
parent::__construct($httpClient);
|
||||
|
@ -2,7 +2,7 @@
|
||||
namespace Nilemin\Virtualmin\Managers\SSL;
|
||||
|
||||
use Nilemin\Virtualmin\Http\HttpClientInterface;
|
||||
use Nilemin\Manager\BaseManager;
|
||||
use Nilemin\Virtualmin\Managers\BaseManager;
|
||||
use Nilet\Components\FileSystem\IFile;
|
||||
|
||||
/**
|
||||
|
@ -2,7 +2,7 @@
|
||||
namespace Nilemin\Virtualmin\Managers\Scripts;
|
||||
|
||||
use Nilemin\Virtualmin\Http\HttpClientInterface;
|
||||
use Nilemin\Manager\BaseManager;
|
||||
use Nilemin\Virtualmin\Managers\BaseManager;
|
||||
|
||||
/**
|
||||
* @author Tsvetelin Tsonev <github.tsonev@yahoo.com>
|
||||
|
@ -2,7 +2,7 @@
|
||||
namespace Nilemin\Virtualmin\Managers\Server;
|
||||
|
||||
use Nilemin\Virtualmin\Http\HttpClientInterface;
|
||||
use Nilemin\Manager\BaseManager;
|
||||
use Nilemin\Virtualmin\Managers\BaseManager;
|
||||
use Nilemin\Virtualmin\Entities\Server;
|
||||
use Nilemin\Virtualmin\Entities\ServerRedirect;
|
||||
use Nilemin\Virtualmin\Entities\SubServer;
|
||||
|
@ -1,8 +1,7 @@
|
||||
<?php
|
||||
namespace Nilemin\Virtualmin;
|
||||
|
||||
use Nilemin\Virtualmin\Accounts\Email\EmailAccountManager;
|
||||
use Nilemin\Virtualmin\Managers\Account\Email\EmailAccountBaseManager;
|
||||
use Nilemin\Virtualmin\Managers\Account\Email\EmailManager;
|
||||
use Nilemin\Virtualmin\Managers\Account\Ftp\FtpManager;
|
||||
use Nilemin\Virtualmin\Managers\Database\DatabaseManager;
|
||||
use Nilemin\Virtualmin\Managers\PHP\PHPManager;
|
||||
@ -121,7 +120,7 @@ class Virtualmin {
|
||||
*
|
||||
* @return ScriptsManager
|
||||
*/
|
||||
public function createCronManager(): ScriptsManager {
|
||||
public function createCronManager(): CronManager {
|
||||
return $this->dc->create(CronManager::class);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user