public function assign_to_user(HighriseUser $user) { if (!$user instanceof HighriseUser) { throw new Exception('$user must be an instance of HighriseUser'); } $this->set_owner_id($user->get_id()); }