original_string: public function setDefaultsFromConfiguration()
      {
          if ($this->options['dsn']) {
              $dsn = explode(':', $this->options['dsn']);
              $this->setSQLDialect($dsn[0]);
          }
  
          $this->setTablePrefix($this->options['table_prefix']);
      }
code: public function setDefaultsFromConfiguration()
      {
          if ($this->options['dsn']) {
              $dsn = explode(':', $this->options['dsn']);
              $this->setSQLDialect($dsn[0]);
          }
  
          $this->setTablePrefix($this->options['table_prefix']);
      }
code_tokens: public function setDefaultsFromConfiguration ( ) { if ( $ this -> options [ 'dsn' ] ) { $ dsn = explode ( ':' , $ this -> options [ 'dsn' ] ) ; $ this -> setSQLDialect ( $ dsn [ 0 ] ) ; } $ this -> setTablePrefix ( $ this -> options [ 'table_prefix' ] ) ; }
docstring: Update builder settings from active configuration.
  
  @return void
docstring_tokens: Update builder settings from active configuration .