Method |
Description |
|
getDatabasePath ( ) : string |
Returns the MaxMind database file path. |
|
getLicenseKey ( ) : string |
Returns the configured MaxMind web license key. |
|
getOptions ( ) : array |
Returns the configured MaxMind web option array. |
|
getUserId ( ) : string |
Returns the configured MaxMind web user ID. |
|
hydrate ( Position $position, Illuminate\Support\Fluent $location ) |
|
|
isWebServiceEnabled ( ) : mixed |
Returns true / false if the MaxMind web service is enabled. |
|
newClient ( string $userId, string $licenseKey, array $options = [] ) : GeoIp2\WebService\Client |
Returns a new MaxMind web service client. |
|
newReader ( string $path ) : GeoIp2\Database\Reader |
Returns a new MaxMind reader client with
the specified database file path. |
|
process ( $ip ) |
|
|