public function addConfigFile($file, $force = false) {
        $settings = JSONFile::read($file, $force);

        $this->addConfigSettings($settings);

        return $this;
    }
public function addConfigFile($file, $force = false) {
        $settings = JSONFile::read($file, $force);

        $this->addConfigSettings($settings);

        return $this;
    }
public function addConfigFile ( $ file , $ force = false ) { $ settings = JSONFile :: read ( $ file , $ force ) ; $ this -> addConfigSettings ( $ settings ) ; return $ this ; }
Parse a JSON file and add its content to the configuration settings

@param string $file File path
@param bool $force If "true" and file is not readable ignore it, otherwise throw an exception. Defaults to
"false".

@return self Returns itself

@throws Exception on error
Parse a JSON file and add its content to the configuration settings