protected function refreshPdoConnections($name)
    {
        $fresh = $this->makeConnection($name);

        return $this->connections[$name]
                                ->setPdo($fresh->getPdo())
                                ->setReadPdo($fresh->getReadPdo());
    }
protected function refreshPdoConnections($name)
    {
        $fresh = $this->makeConnection($name);

        return $this->connections[$name]
                                ->setPdo($fresh->getPdo())
                                ->setReadPdo($fresh->getReadPdo());
    }
protected function refreshPdoConnections ( $ name ) { $ fresh = $ this -> makeConnection ( $ name ) ; return $ this -> connections [ $ name ] -> setPdo ( $ fresh -> getPdo ( ) ) -> setReadPdo ( $ fresh -> getReadPdo ( ) ) ; }
Refresh the PDO connections on a given connection.

@param  string  $name
@return \Illuminate\Database\Connection
Refresh the PDO connections on a given connection .