public function getCountry()
    {
        $countryCode = $this->scopeConfig->getValue('general/country/default');
        if (!$countryCode) {
            return null;
        }

        $country = $this->countryFactory->create()->loadByCode($countryCode);

        return $country->getName();
    }
public function getCountry()
    {
        $countryCode = $this->scopeConfig->getValue('general/country/default');
        if (!$countryCode) {
            return null;
        }

        $country = $this->countryFactory->create()->loadByCode($countryCode);

        return $country->getName();
    }
public function getCountry ( ) { $ countryCode = $ this -> scopeConfig -> getValue ( 'general/country/default' ) ; if ( ! $ countryCode ) { return null ; } $ country = $ this -> countryFactory -> create ( ) -> loadByCode ( $ countryCode ) ; return $ country -> getName ( ) ; }
Returns default Country

@return string
Returns default Country