I would  not count on this. Connection uses a magic getter in the moment, it's safer to retrieve the value first and store it in a variable. I have had "fun" with this in the past.