Stevebauman\Location\Location::getClientIP PHP Méthode

getClientIP() protected méthode

Returns the client IP address. Will return the set config IP if localhost testing is set to true.
protected getClientIP ( ) : string
Résultat string
    protected function getClientIP()
    {
        return $this->localHostTesting() ? $this->getLocalHostTestingIp() : request()->ip();
    }