original_string: public function loadConfig($resource, $type = null)
      {
          $this->getConfigManager()->addConfig($resource, $type);
  
          return $this;
      }
code: public function loadConfig($resource, $type = null)
      {
          $this->getConfigManager()->addConfig($resource, $type);
  
          return $this;
      }
code_tokens: public function loadConfig ( $ resource , $ type = null ) { $ this -> getConfigManager ( ) -> addConfig ( $ resource , $ type ) ; return $ this ; }
docstring: Loads a configuration file or PHP array.
  
  @param  $resource
  @param null $type
  
  @return App The current instance
docstring_tokens: Loads a configuration file or PHP array .