public function getCountry()
    {
        try {
            $address = $this->remoteAddress->getRemoteAddress();
            return $this->getReader()->country($address)->country->isoCode;
        } catch (\Exception $e) {
            return null;
        }
    }
public function getCountry()
    {
        try {
            $address = $this->remoteAddress->getRemoteAddress();
            return $this->getReader()->country($address)->country->isoCode;
        } catch (\Exception $e) {
            return null;
        }
    }
public function getCountry ( ) { try { $ address = $ this -> remoteAddress -> getRemoteAddress ( ) ; return $ this -> getReader ( ) -> country ( $ address ) -> country -> isoCode ; } catch ( \ Exception $ e ) { return null ; } }
Gets country from remote address.

@return null|string
Gets country from remote address .