public function getCountryList($includeInternalCodes = false)
    {
        if ($this->countryList === null) {
            $this->countryList = require __DIR__ . '/../Resources/countries.php';
        }
        if ($this->countryExtraList === null) {
            $this->countryExtraList = require __DIR__ . '/../Resources/countries-extra.php';
        }

        if ($includeInternalCodes) {
            return array_merge($this->countryList, $this->countryExtraList);
        }

        return $this->countryList;
    }
public function getCountryList($includeInternalCodes = false)
    {
        if ($this->countryList === null) {
            $this->countryList = require __DIR__ . '/../Resources/countries.php';
        }
        if ($this->countryExtraList === null) {
            $this->countryExtraList = require __DIR__ . '/../Resources/countries-extra.php';
        }

        if ($includeInternalCodes) {
            return array_merge($this->countryList, $this->countryExtraList);
        }

        return $this->countryList;
    }
public function getCountryList ( $ includeInternalCodes = false ) { if ( $ this -> countryList === null ) { $ this -> countryList = require __DIR__ . '/../Resources/countries.php' ; } if ( $ this -> countryExtraList === null ) { $ this -> countryExtraList = require __DIR__ . '/../Resources/countries-extra.php' ; } if ( $ includeInternalCodes ) { return array_merge ( $ this -> countryList , $ this -> countryExtraList ) ; } return $ this -> countryList ; }
Returns the list of valid country codes.

@param bool $includeInternalCodes
@return string[] Array of 2 letter country ISO codes => 3 letter continent code
@api
Returns the list of valid country codes .