protected function processParts(array $parts)
    {
        $combined = new ArrayObject();
        $splitParts = new ArrayObject();
        $strCat = '';
        $strName = '';
        $parts[] = $this->partFactory->newToken(';');
        foreach ($parts as $part) {
            $pValue = $part->getValue();
            if ($part instanceof Token && $this->processTokenPart($pValue, $combined, $splitParts, $strName, $strCat)) {
                continue;
            }
            $strCat .= $pValue;
        }
        return $this->finalizeParameterParts($combined);
    }
protected function processParts(array $parts)
    {
        $combined = new ArrayObject();
        $splitParts = new ArrayObject();
        $strCat = '';
        $strName = '';
        $parts[] = $this->partFactory->newToken(';');
        foreach ($parts as $part) {
            $pValue = $part->getValue();
            if ($part instanceof Token && $this->processTokenPart($pValue, $combined, $splitParts, $strName, $strCat)) {
                continue;
            }
            $strCat .= $pValue;
        }
        return $this->finalizeParameterParts($combined);
    }
protected function processParts ( array $ parts ) { $ combined = new ArrayObject ( ) ; $ splitParts = new ArrayObject ( ) ; $ strCat = '' ; $ strName = '' ; $ parts [ ] = $ this -> partFactory -> newToken ( ';' ) ; foreach ( $ parts as $ part ) { $ pValue = $ part -> getValue ( ) ; if ( $ part instanceof Token && $ this -> processTokenPart ( $ pValue , $ combined , $ splitParts , $ strName , $ strCat ) ) { continue ; } $ strCat .= $ pValue ; } return $ this -> finalizeParameterParts ( $ combined ) ; }
Post processing involves creating Part\LiteralPart or Part\ParameterPart
objects out of created Token and LiteralParts.

@param HeaderPart[] $parts
@return HeaderPart[]|array
Post processing involves creating Part \ LiteralPart or Part \ ParameterPart objects out of created Token and LiteralParts .