PHP Trait DirectAdmin\LetsEncrypt\Lib\Utility\ConfigurableTrait

Inheritance: use trait StorageTrait
显示文件 Open project: Petertjuh360/da-letsencrypt

Public Methods

Method Description
config ( string | null $key = null, string | null $value = null ) : string | null Set or receive config variable
deleteConfigKey ( $key ) Delete a key from the configuration and save it
initializeConfig ( ) Initialize configuration to local variable
saveConfig ( ) Save configuration file to storage

Method Details

config() public method

Set or receive config variable
public config ( string | null $key = null, string | null $value = null ) : string | null
$key string | null Key of entry
$value string | null
return string | null

deleteConfigKey() public method

Delete a key from the configuration and save it
public deleteConfigKey ( $key )
$key

initializeConfig() public method

Initialize configuration to local variable
public initializeConfig ( )

saveConfig() public method

Save configuration file to storage
public saveConfig ( )