original_string: public function setup($sConfigFile)
      {
          $aConfigOptions = $this->config()->read($sConfigFile);
  
          // Setup the config options into the library.
          $sLibKey = 'lib';
          $xLibConfig = $this->di()->getConfig();
          $xLibConfig->setOptions($aConfigOptions, $sLibKey);
  
          $sAppKey = 'app';
          $xAppConfig = new \Jaxon\Config\Config();
          $xAppConfig->setOptions($aConfigOptions, $sAppKey);
  
          // Register user functions and classes
          $this->getPluginManager()->registerFromConfig($xAppConfig);
  
          return $this;
      }
code: public function setup($sConfigFile)
      {
          $aConfigOptions = $this->config()->read($sConfigFile);
  
          // Setup the config options into the library.
          $sLibKey = 'lib';
          $xLibConfig = $this->di()->getConfig();
          $xLibConfig->setOptions($aConfigOptions, $sLibKey);
  
          $sAppKey = 'app';
          $xAppConfig = new \Jaxon\Config\Config();
          $xAppConfig->setOptions($aConfigOptions, $sAppKey);
  
          // Register user functions and classes
          $this->getPluginManager()->registerFromConfig($xAppConfig);
  
          return $this;
      }
code_tokens: public function setup ( $ sConfigFile ) { $ aConfigOptions = $ this -> config ( ) -> read ( $ sConfigFile ) ; // Setup the config options into the library. $ sLibKey = 'lib' ; $ xLibConfig = $ this -> di ( ) -> getConfig ( ) ; $ xLibConfig -> setOptions ( $ aConfigOptions , $ sLibKey ) ; $ sAppKey = 'app' ; $ xAppConfig = new \ Jaxon \ Config \ Config ( ) ; $ xAppConfig -> setOptions ( $ aConfigOptions , $ sAppKey ) ; // Register user functions and classes $ this -> getPluginManager ( ) -> registerFromConfig ( $ xAppConfig ) ; return $ this ; }
docstring: Read config options from a config file and setup the library
  
  @param string        $sConfigFile        The full path to the config file
  
  @return Jaxon
docstring_tokens: Read config options from a config file and setup the library