OwlCyberSecurity - MANAGER
Edit File: GeoServiceProviderInterface.php
<?php namespace WP_Statistics\Service\Geolocation; interface GeoServiceProviderInterface { /** * Fetch geolocation data for the given IP address. * * @param string $ipAddress * @return array */ public function fetchGeolocationData(string $ipAddress); /** * Get the download URL for the GeoIP database. * * @return string */ public function getDownloadUrl(); /** * Download the GeoIP database, extract it, and handle updates. * * @return array */ public function downloadDatabase(); /** * Get the database type. * * @return string */ public function getDatabaseType(); /** * Check the integrity and functionality of the geolocation database. * * @return bool|WP_Error True if the database is valid, or WP_Error on failure. */ public function validateDatabaseFile(); }