public function withNodeUri($uri)
    {
        $builder = new RiakNodeBuilder();
        $node    = $builder
            ->withProtocol(parse_url($uri, PHP_URL_SCHEME))
            ->withHost(parse_url($uri, PHP_URL_HOST))
            ->withPort(parse_url($uri, PHP_URL_PORT))
            ->withUser(parse_url($uri, PHP_URL_USER))
            ->withPass(parse_url($uri, PHP_URL_PASS))
            ->build();

        return $this->withNode($node);
    }
public function withNodeUri($uri)
    {
        $builder = new RiakNodeBuilder();
        $node    = $builder
            ->withProtocol(parse_url($uri, PHP_URL_SCHEME))
            ->withHost(parse_url($uri, PHP_URL_HOST))
            ->withPort(parse_url($uri, PHP_URL_PORT))
            ->withUser(parse_url($uri, PHP_URL_USER))
            ->withPass(parse_url($uri, PHP_URL_PASS))
            ->build();

        return $this->withNode($node);
    }
public function withNodeUri ( $ uri ) { $ builder = new RiakNodeBuilder ( ) ; $ node = $ builder -> withProtocol ( parse_url ( $ uri , PHP_URL_SCHEME ) ) -> withHost ( parse_url ( $ uri , PHP_URL_HOST ) ) -> withPort ( parse_url ( $ uri , PHP_URL_PORT ) ) -> withUser ( parse_url ( $ uri , PHP_URL_USER ) ) -> withPass ( parse_url ( $ uri , PHP_URL_PASS ) ) -> build ( ) ; return $ this -> withNode ( $ node ) ; }
Creates a RiakNode base on the given URI and add it to this cluster.

@param string $uri

@return \Riak\Client\RiakClientBuilder
Creates a RiakNode base on the given URI and add it to this cluster .