original_string: protected function initConfig()
      {
          Container::unregister();
  
          $this->config = Container::get('gplcart\\core\\Config');
          $this->config->init();
          $this->db = $this->config->getDb();
      }
code: protected function initConfig()
      {
          Container::unregister();
  
          $this->config = Container::get('gplcart\\core\\Config');
          $this->config->init();
          $this->db = $this->config->getDb();
      }
code_tokens: protected function initConfig ( ) { Container :: unregister ( ) ; $ this -> config = Container :: get ( 'gplcart\\core\\Config' ) ; $ this -> config -> init ( ) ; $ this -> db = $ this -> config -> getDb ( ) ; }
docstring: Init configuration
  It makes sure that we're using the database connection defined in the configuration file
docstring_tokens: Init configuration It makes sure that we re using the database connection defined in the configuration file