protected function getNodeConnection(Credentials $server) { $node = $this->createNode($server); $node->connect(); return $node; }