Return info object of the current node.
public getInfo ( ) : |
||
리턴 | Node info object |
/** * @group functional */ public function testGetInfo() { $client = $this->_getClient(); $names = $client->getCluster()->getNodeNames(); $name = reset($names); $node = new Node($name, $client); $info = $node->getInfo(); $this->assertInstanceOf('Elastica\\Node\\Info', $info); }