public function reconnect()
    {
        if (is_callable($this->reconnector)) {
            $this->doctrineConnection = null;

            return call_user_func($this->reconnector, $this);
        }

        throw new LogicException('Lost connection and no reconnector available.');
    }
public function reconnect()
    {
        if (is_callable($this->reconnector)) {
            $this->doctrineConnection = null;

            return call_user_func($this->reconnector, $this);
        }

        throw new LogicException('Lost connection and no reconnector available.');
    }
public function reconnect ( ) { if ( is_callable ( $ this -> reconnector ) ) { $ this -> doctrineConnection = null ; return call_user_func ( $ this -> reconnector , $ this ) ; } throw new LogicException ( 'Lost connection and no reconnector available.' ) ; }
Reconnect to the database.

@return void

@throws \LogicException
Reconnect to the database .