private function _parseNameComponent(int &$offset): array
    {
        $idx = $offset;
        $tvpairs = array();
        while ($idx < $this->_len) {
            $tvpairs[] = $this->_parseAttrTypeAndValue($idx);
            $this->_skipWs($idx);
            if ($idx >= $this->_len || "+" != $this->_dn[$idx]) {
                break;
            }
            ++$idx;
            $this->_skipWs($idx);
        }
        $offset = $idx;
        return $tvpairs;
    }
private function _parseNameComponent(int &$offset): array
    {
        $idx = $offset;
        $tvpairs = array();
        while ($idx < $this->_len) {
            $tvpairs[] = $this->_parseAttrTypeAndValue($idx);
            $this->_skipWs($idx);
            if ($idx >= $this->_len || "+" != $this->_dn[$idx]) {
                break;
            }
            ++$idx;
            $this->_skipWs($idx);
        }
        $offset = $idx;
        return $tvpairs;
    }
private function _parseNameComponent ( int & $ offset ) : array { $ idx = $ offset ; $ tvpairs = array ( ) ; while ( $ idx < $ this -> _len ) { $ tvpairs [ ] = $ this -> _parseAttrTypeAndValue ( $ idx ) ; $ this -> _skipWs ( $ idx ) ; if ( $ idx >= $ this -> _len || "+" != $ this -> _dn [ $ idx ] ) { break ; } ++ $ idx ; $ this -> _skipWs ( $ idx ) ; } $ offset = $ idx ; return $ tvpairs ; }
Parse 'name-component'.

attributeTypeAndValue *("+" attributeTypeAndValue)

@param int $offset
@return array Array of [type, value] tuples
Parse name - component .