source/Core/SepaIBANValidator.php
protected function _getLengthForCountry($sIBAN)
    {
        $aIBANRegistry = $this->getCodeLengths();

        $sCountryCode = getStr()->substr($sIBAN, 0, 2);

        $iCorrectLength = (isset($aIBANRegistry[$sCountryCode])) ? $aIBANRegistry[$sCountryCode] : null;

        return $iCorrectLength;
    }
protected function _getLengthForCountry($sIBAN)
    {
        $aIBANRegistry = $this->getCodeLengths();

        $sCountryCode = getStr()->substr($sIBAN, 0, 2);

        $iCorrectLength = (isset($aIBANRegistry[$sCountryCode])) ? $aIBANRegistry[$sCountryCode] : null;

        return $iCorrectLength;
    }
protected function _getLengthForCountry ( $ sIBAN ) { $ aIBANRegistry = $ this -> getCodeLengths ( ) ; $ sCountryCode = getStr ( ) -> substr ( $ sIBAN , 0 , 2 ) ; $ iCorrectLength = ( isset ( $ aIBANRegistry [ $ sCountryCode ] ) ) ? $ aIBANRegistry [ $ sCountryCode ] : null ; return $ iCorrectLength ; }
Gets length for country.

@param string $sIBAN IBAN

@return null
Gets length for country .