eee
This commit is contained in:
@@ -22,6 +22,12 @@ abstract class Multiprogramming implements Progaram
|
||||
protected string $errorMsg = '';
|
||||
|
||||
|
||||
/**
|
||||
* @var PayConfig
|
||||
*/
|
||||
protected PayConfig $payConfig;
|
||||
|
||||
|
||||
/**
|
||||
* @param $message
|
||||
* @param int $code
|
||||
@@ -74,6 +80,22 @@ abstract class Multiprogramming implements Progaram
|
||||
$this->config = $config;
|
||||
}
|
||||
|
||||
/**
|
||||
* @return PayConfig
|
||||
*/
|
||||
public function getPayConfig(): PayConfig
|
||||
{
|
||||
return $this->payConfig;
|
||||
}
|
||||
|
||||
/**
|
||||
* @param PayConfig $payConfig
|
||||
*/
|
||||
public function setPayConfig(PayConfig $payConfig): void
|
||||
{
|
||||
$this->payConfig = $payConfig;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* @return \wchat\common\Config
|
||||
|
||||
Reference in New Issue
Block a user