public function getType($suffix)
    {
        if (!array_key_exists($suffix, $this->suffixes)) {
            throw new StoreException(sprintf(
                'Provided suffix (%s) does not exists in database, check existence of entry with isExists() method ' .
                'before',
                $suffix
            ));
        }

        return $this->suffixes[ $suffix ];
    }
public function getType($suffix)
    {
        if (!array_key_exists($suffix, $this->suffixes)) {
            throw new StoreException(sprintf(
                'Provided suffix (%s) does not exists in database, check existence of entry with isExists() method ' .
                'before',
                $suffix
            ));
        }

        return $this->suffixes[ $suffix ];
    }
public function getType ( $ suffix ) { if ( ! array_key_exists ( $ suffix , $ this -> suffixes ) ) { throw new StoreException ( sprintf ( 'Provided suffix (%s) does not exists in database, check existence of entry with isExists() method ' . 'before' , $ suffix ) ) ; } return $ this -> suffixes [ $ suffix ] ; }
Checks type of suffix entry. Returns true if suffix is ICANN TLD zone.

@param string $suffix Suffix which type will be checked.

@return int

@throws StoreException
Checks type of suffix entry . Returns true if suffix is ICANN TLD zone .