Wordpress/WpProvider.php
public function newWpDb($dbuser, $dbpassword, $dbname, $dbhost)
    {
        $wpDbClass = '\wpdb';
        return new $wpDbClass($dbuser, $dbpassword, $dbname, $dbhost);
    }
public function newWpDb($dbuser, $dbpassword, $dbname, $dbhost)
    {
        $wpDbClass = '\wpdb';
        return new $wpDbClass($dbuser, $dbpassword, $dbname, $dbhost);
    }
public function newWpDb ( $ dbuser , $ dbpassword , $ dbname , $ dbhost ) { $ wpDbClass = '\wpdb' ; return new $ wpDbClass ( $ dbuser , $ dbpassword , $ dbname , $ dbhost ) ; }
Return new wpdb instance
@param $dbuser
@param $dbpassword
@param $dbname
@param $dbhost
@return \wpdb
Return new wpdb instance