Moved many field related get methods to its own classes
This commit is contained in:
@@ -498,6 +498,39 @@ class Config extends Registry implements \JsonSerializable, \ArrayAccess, \Itera
|
||||
// but this is a switch value and is changed many times
|
||||
return 'admin';
|
||||
}
|
||||
|
||||
/**
|
||||
* get basic encryption switch
|
||||
*
|
||||
* @return bool Switch to control the encryption
|
||||
* @since 3.2.0
|
||||
*/
|
||||
protected function getBasicencryption(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* get medium encryption switch
|
||||
*
|
||||
* @return bool Switch to control the encryption
|
||||
* @since 3.2.0
|
||||
*/
|
||||
protected function getMediumencryption(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
/**
|
||||
* get whmcs encryption switch
|
||||
*
|
||||
* @return bool Switch to control the encryption
|
||||
* @since 3.2.0
|
||||
*/
|
||||
protected function getWhmcsencryption(): bool
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user