public function getCountryCode()
    {
        $countryCode = '';
        $iban = $this->getIban();
        if (!empty($iban)) {
            $countryCode = substr($iban, 0, 2);
        }
        return $countryCode;
    }
public function getCountryCode()
    {
        $countryCode = '';
        $iban = $this->getIban();
        if (!empty($iban)) {
            $countryCode = substr($iban, 0, 2);
        }
        return $countryCode;
    }
public function getCountryCode ( ) { $ countryCode = '' ; $ iban = $ this -> getIban ( ) ; if ( ! empty ( $ iban ) ) { $ countryCode = substr ( $ iban , 0 , 2 ) ; } return $ countryCode ; }
returns the country code of a iban
the country code is corresponding to ISO 3166-1

@return      string                  country code
returns the country code of a iban the country code is corresponding to ISO 3166 - 1