public static function ip()
    {
        $whip = new Whip(
            Whip::CLOUDFLARE_HEADERS | Whip::REMOTE_ADDR,
            [
                Whip::CLOUDFLARE_HEADERS => self::CLOUDFLARE_IP,
            ]
        );

        return $whip->getValidIpAddress();
    }
public static function ip()
    {
        $whip = new Whip(
            Whip::CLOUDFLARE_HEADERS | Whip::REMOTE_ADDR,
            [
                Whip::CLOUDFLARE_HEADERS => self::CLOUDFLARE_IP,
            ]
        );

        return $whip->getValidIpAddress();
    }
public static function ip ( ) { $ whip = new Whip ( Whip :: CLOUDFLARE_HEADERS | Whip :: REMOTE_ADDR , [ Whip :: CLOUDFLARE_HEADERS => self :: CLOUDFLARE_IP , ] ) ; return $ whip -> getValidIpAddress ( ) ; }
Get real ip address.

@return false|string
Get real ip address .