public function addFile($path)
    {
        $config = $this->loadFile($path);
        if (is_array($config)) {
            $this->merge($config);
        }
        return $this;
    }
public function addFile($path)
    {
        $config = $this->loadFile($path);
        if (is_array($config)) {
            $this->merge($config);
        }
        return $this;
    }
public function addFile ( $ path ) { $ config = $ this -> loadFile ( $ path ) ; if ( is_array ( $ config ) ) { $ this -> merge ( $ config ) ; } return $ this ; }
Adds a configuration file to the configset.

Natively supported file formats: INI, JSON, PHP.

@uses   FileAwareTrait::loadFile()
@param  string $path The file to load and add.
@return self
Adds a configuration file to the configset .