public __construct ( string $file, integer $type = Config::DETECT, array $default = [], &$correct = null ) | ||
$file | string | Path of the file to be loaded |
$type | integer | Config type to load, -1 by default (detect) |
$default | array | Array with the default values that will be written to the file if it did not exist |
public function __construct($file, $type = Config::DETECT, $default = [], &$correct = null)
{
$this->load($file, $type, $default);
$correct = $this->correct;
}