getNodes() public method

public getNodes ( ) : Node[]
return Basho\Riak\Node[]
示例#1
0
 /**
  * @dataProvider getCluster
  *
  * @param $nodes array
  */
 public function testNodeCount($nodes)
 {
     $riak = new Riak($nodes);
     $this->assertEquals(count($riak->getNodes()), count($nodes));
 }
示例#2
0
 public function testNodeCount()
 {
     $nodes = static::getCluster();
     $riak = new Riak($nodes);
     $this->assertEquals(count($riak->getNodes()), count($nodes));
 }