private function addToSplitPart(ArrayObject $splitParts, $name, $value, $index, $isEncoded)
    {
        $ret = null;
        if (!isset($splitParts[trim($name)])) {
            $ret = $this->partFactory->newSplitParameterToken($name);
            $splitParts[$name] = $ret;
        }
        $splitParts[$name]->addPart($value, $isEncoded, $index);
        return $ret;
    }
private function addToSplitPart(ArrayObject $splitParts, $name, $value, $index, $isEncoded)
    {
        $ret = null;
        if (!isset($splitParts[trim($name)])) {
            $ret = $this->partFactory->newSplitParameterToken($name);
            $splitParts[$name] = $ret;
        }
        $splitParts[$name]->addPart($value, $isEncoded, $index);
        return $ret;
    }
private function addToSplitPart ( ArrayObject $ splitParts , $ name , $ value , $ index , $ isEncoded ) { $ ret = null ; if ( ! isset ( $ splitParts [ trim ( $ name ) ] ) ) { $ ret = $ this -> partFactory -> newSplitParameterToken ( $ name ) ; $ splitParts [ $ name ] = $ ret ; } $ splitParts [ $ name ] -> addPart ( $ value , $ isEncoded , $ index ) ; return $ ret ; }
Adds the passed parameter with the given name and value to a
SplitParameterToken, at the passed index. If one with the given name
doesn't exist, it is created.

@param ArrayObject $splitParts
@param string $name
@param string $value
@param int $index
@param boolean $isEncoded
Adds the passed parameter with the given name and value to a SplitParameterToken at the passed index . If one with the given name doesn t exist it is created .