src/Config.php
public function loadFile(string $key, string $file): void
    {
        // Check for file's existence
        if( file_exists($file) === false ){
            throw new \Exception("Config file not found: {$file}");
        }

        // Pull config file in and add values into master config
        $config = require_once $file;
        $this->add($key, $config);
    }
public function loadFile(string $key, string $file): void
    {
        // Check for file's existence
        if( file_exists($file) === false ){
            throw new \Exception("Config file not found: {$file}");
        }

        // Pull config file in and add values into master config
        $config = require_once $file;
        $this->add($key, $config);
    }
Load a file and assign it to the key.

@param string $key
@param string $file
@return void