public function refresh(array $params = [])
{
$this->_params = $params;
$path = '_nodes/' . $this->getNode()->getId();
if (!empty($params)) {
$path .= '/';
foreach ($params as $param) {
$path .= $param . ',';
}
}
$this->_response = $this->getNode()->getClient()->request($path, Request::GET);
$data = $this->getResponse()->getData();
$this->_data = reset($data['nodes']);
$this->_id = key($data['nodes']);
$this->getNode()->setId($this->getId());
}