IpToLocationService
Table of Contents
-
$logger
: LoggerInterface
-
__construct()
: mixed
-
locateIp()
: array{'city': string, 'country': string}
-
populateDatabase()
: bool
$logger
private
LoggerInterface
$logger
__construct()
public
__construct() : mixed
Return values
mixed
—
locateIp()
public
locateIp(string $ip) : array{'city': string, 'country': string}
Parameters
-
$ip
: string
-
Return values
array{'city': string, 'country': string}
—
populateDatabase()
public
populateDatabase() : bool
Return values
bool
—