LMongo\DatabaseManager::reconnect PHP 메소드

reconnect() 공개 메소드

Reconnect to the given database.
public reconnect ( string $name = null ) : Connection
$name string
리턴 Connection
    public function reconnect($name = null)
    {
        unset($this->connections[$name]);
        return $this->connection($name);
    }