original_string: protected function setDatabaseConfiguration($connection, &$database, &$configs)
      {
          $configs = [];
  
          if( is_array($database) )
          {
              $configs  = $database;
              $database = $connection;
          }
  
          $configs['database'] = $database ?: $this->defaultDatabaseName;
      }
code: protected function setDatabaseConfiguration($connection, &$database, &$configs)
      {
          $configs = [];
  
          if( is_array($database) )
          {
              $configs  = $database;
              $database = $connection;
          }
  
          $configs['database'] = $database ?: $this->defaultDatabaseName;
      }
code_tokens: protected function setDatabaseConfiguration ( $ connection , & $ database , & $ configs ) { $ configs = [ ] ; if ( is_array ( $ database ) ) { $ configs = $ database ; $ database = $ connection ; } $ configs [ 'database' ] = $ database ? : $ this -> defaultDatabaseName ; }
docstring: Protected set database configuration
docstring_tokens: Protected set database configuration