src/Database/Db.php
public function disconnect($name)
    {
        if (isset($this->pdoArray[$name])) {
            $pdo    = $this->pdoArray[$name];
            if ($this->activePdo == $pdo) {
                $this->activePdo = null;
            }

            unset($this->pdoArray[$name]);
        }
    }
public function disconnect($name)
    {
        if (isset($this->pdoArray[$name])) {
            $pdo    = $this->pdoArray[$name];
            if ($this->activePdo == $pdo) {
                $this->activePdo = null;
            }

            unset($this->pdoArray[$name]);
        }
    }
public function disconnect ( $ name ) { if ( isset ( $ this -> pdoArray [ $ name ] ) ) { $ pdo = $ this -> pdoArray [ $ name ] ; if ( $ this -> activePdo == $ pdo ) { $ this -> activePdo = null ; } unset ( $ this -> pdoArray [ $ name ] ) ; } }
disconnect pdo by name

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