Missing docs
This commit is contained in:
parent
41a29a0ca1
commit
6df1eccb9e
2 changed files with 20 additions and 1 deletions
|
@ -65,10 +65,16 @@ class Config
|
|||
*/
|
||||
public $curl_params = array();
|
||||
|
||||
private $configFile;
|
||||
/**
|
||||
* YAML config file path
|
||||
* @var string
|
||||
*/
|
||||
private $file;
|
||||
|
||||
/**
|
||||
* Config constructor
|
||||
*
|
||||
* @param string $yamlfile YAML config file path
|
||||
*/
|
||||
private function __construct($yamlfile)
|
||||
{
|
||||
|
@ -91,6 +97,8 @@ class Config
|
|||
/**
|
||||
* Get singleton instance
|
||||
*
|
||||
* @param string $yamlfile YAML config file name
|
||||
*
|
||||
* @return Config
|
||||
*/
|
||||
public static function getInstance($yamlfile = 'config.yml')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue