add clear
This commit is contained in:
@@ -104,6 +104,8 @@ class Config
|
||||
|
||||
private $ssl_cert = '';
|
||||
private $ssl_key = '';
|
||||
private $ssl_ca = '';
|
||||
private $port = '';
|
||||
|
||||
/**
|
||||
* @var string
|
||||
@@ -113,6 +115,42 @@ class Config
|
||||
private $agent = '';
|
||||
private $usrSwoole = false;
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getSslCa(): string
|
||||
{
|
||||
return $this->ssl_ca;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $ssl_ca
|
||||
* @return Config
|
||||
*/
|
||||
public function setSslCa(string $ssl_ca): Config
|
||||
{
|
||||
$this->ssl_ca = $ssl_ca;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getPort(): string
|
||||
{
|
||||
return $this->port;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param string $port
|
||||
* @return Config
|
||||
*/
|
||||
public function setPort(string $port): Config
|
||||
{
|
||||
$this->port = $port;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return bool
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user