public function add_address($street, $city, $state, $zip, $country, $location = 'Work') { $address = new HighriseAddress(); $address->set_street($street); $address->set_city($city); $address->set_state($state); $address->set_zip($zip); $address->set_country($country); $address->set_location($location); $this->addresses[] = $address; }