Config: Make load() private

This commit is contained in:
Dylan K. Taylor 2019-01-10 18:03:15 +00:00
parent 5d8fa2e126
commit 1f54760dae

View File

@ -144,7 +144,7 @@ class Config{
* @throws \InvalidArgumentException if config type could not be auto-detected
* @throws \InvalidStateException if config type is invalid
*/
public function load(string $file, int $type = Config::DETECT, array $default = []) : void{
private function load(string $file, int $type = Config::DETECT, array $default = []) : void{
$this->file = $file;
$this->type = $type;