function get($name) { $endpoint = "https://api.hubapi.com/contacts/v2/properties/named/{$name}"; return $this->client->request('get', $endpoint); }