__("France"), "DE" => __("Germany"), "JP" => __("Japan"), "ES" => __("Spain"), "GB" => __("United Kingdom"), ]; } // Object methods public function hasGeolocation(): bool { return isset($this->latitude, $this->longitude); } }