Add to the body contents of this part.
public appendContents ( mixed $contents, $options = [] ) | ||
$contents | mixed | The part body. Either a string or a stream resource, or an array containing both. - encoding: (string) The encoding of $contents. DEFAULT: Current transfer encoding value. - usestream: (boolean) If $contents is a stream, should we directly use that stream? DEFAULT: $contents copied to a new stream. |