public function loadConfig($resource, $type = null)
    {
        $this->getConfigManager()->addConfig($resource, $type);

        return $this;
    }
public function loadConfig($resource, $type = null)
    {
        $this->getConfigManager()->addConfig($resource, $type);

        return $this;
    }
public function loadConfig ( $ resource , $ type = null ) { $ this -> getConfigManager ( ) -> addConfig ( $ resource , $ type ) ; return $ this ; }
Loads a configuration file or PHP array.

@param  $resource
@param null $type

@return App The current instance
Loads a configuration file or PHP array .