Stevebauman\Location\Location::getClientIP PHP 메소드

getClientIP() 보호된 메소드

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