public connect ( ) : Disque\Connection\Node\Node | ||
return | Disque\Connection\Node\Node | Connected node information |
public function connect()
{
return $this->connectionManager->connect();
}
/** * @param array $options * @return array * @throws */ public function connect($options = []) { if (!$this->autoconnect) { return $this->disque->connect($options); } else { throw new \Exception('Connection already established via autoconnect, no need to call connect()'); } }