Elastica\Node\Stats::__construct PHP Метод

__construct() публичный Метод

Create new stats for node.
public __construct ( Node $node )
$node Elastica\Node Elastica node object
    public function __construct(BaseNode $node)
    {
        $this->_node = $node;
        $this->refresh();
    }