protected function suffixExists($entry)
    {
        if (!$this->suffixStore->isExists($entry)) {
            return false;
        }

        $type = $this->suffixStore->getType($entry);

        if ($this->extractionMode & static::MODE_ALLOW_ICANN && $type === Store::TYPE_ICANN) {
            return true;
        }

        return $this->extractionMode & static::MODE_ALLOW_PRIVATE && $type === Store::TYPE_PRIVATE;
    }
protected function suffixExists($entry)
    {
        if (!$this->suffixStore->isExists($entry)) {
            return false;
        }

        $type = $this->suffixStore->getType($entry);

        if ($this->extractionMode & static::MODE_ALLOW_ICANN && $type === Store::TYPE_ICANN) {
            return true;
        }

        return $this->extractionMode & static::MODE_ALLOW_PRIVATE && $type === Store::TYPE_PRIVATE;
    }
protected function suffixExists ( $ entry ) { if ( ! $ this -> suffixStore -> isExists ( $ entry ) ) { return false ; } $ type = $ this -> suffixStore -> getType ( $ entry ) ; if ( $ this -> extractionMode & static :: MODE_ALLOW_ICANN && $ type === Store :: TYPE_ICANN ) { return true ; } return $ this -> extractionMode & static :: MODE_ALLOW_PRIVATE && $ type === Store :: TYPE_PRIVATE ; }
Method that checks existence of entry in Public Suffix List database, including provided options.

@param string $entry Entry for check in Public Suffix List database

@return bool
Method that checks existence of entry in Public Suffix List database including provided options .