public function getFloatingIp($floatingIpId) { $result = null; $response = $this->getClient()->call($this->service, sprintf('/floatingips/%s', $floatingIpId)); if ($response->hasError() === false) { $result = json_decode($response->getContent()); $result = $result->floatingip; } return $result; }