src/Header/Part/SplitParameterToken.php
public function addPart($value, $isEncoded, $index)
    {
        if (empty($index)) {
            $index = 0;
        }
        if ($isEncoded) {
            $this->extractMetaInformationAndValue($value, $index);
        } else {
            $this->literalParts[$index] = $this->convertEncoding($value);
        }
    }
public function addPart($value, $isEncoded, $index)
    {
        if (empty($index)) {
            $index = 0;
        }
        if ($isEncoded) {
            $this->extractMetaInformationAndValue($value, $index);
        } else {
            $this->literalParts[$index] = $this->convertEncoding($value);
        }
    }
public function addPart ( $ value , $ isEncoded , $ index ) { if ( empty ( $ index ) ) { $ index = 0 ; } if ( $ isEncoded ) { $ this -> extractMetaInformationAndValue ( $ value , $ index ) ; } else { $ this -> literalParts [ $ index ] = $ this -> convertEncoding ( $ value ) ; } }
Adds the passed part to the running array of values.

If $isEncoded is true, language and charset info is extracted from the
value, and the value is decoded before returning in getValue.

The value of the parameter is sorted based on the passed $index
arguments when adding before concatenating when re-constructing the
value.

@param string $value
@param boolean $isEncoded
@param int $index
Adds the passed part to the running array of values .