src/Database/Db.php
public function reconnect($name)
    {
        if (isset($this->connections[$name])) {
            $this->disconnect($name);
            $this->usePdo($name);
        }
    }
public function reconnect($name)
    {
        if (isset($this->connections[$name])) {
            $this->disconnect($name);
            $this->usePdo($name);
        }
    }
public function reconnect ( $ name ) { if ( isset ( $ this -> connections [ $ name ] ) ) { $ this -> disconnect ( $ name ) ; $ this -> usePdo ( $ name ) ; } }
reconnect pdo by name

@param string $name
@throws DbException
reconnect pdo by name