src/LazyConnection.php
public function instance()
    {
        if ($this->connection !== null) {
            $conn = $this->connection;

            if (!$conn->isConnected()) {
                $conn->reconnect();
            }

            return $conn;
        }

        return $this->connection = $this->create();
    }
public function instance()
    {
        if ($this->connection !== null) {
            $conn = $this->connection;

            if (!$conn->isConnected()) {
                $conn->reconnect();
            }

            return $conn;
        }

        return $this->connection = $this->create();
    }
Get a connected managed @see \AMQPConnection instance.

@return \AMQPConnection