Overrides AbstractPart::bodyToIterable
public function bodyToIterable() : iterable { if (\is_string($this->body)) { (yield $this->body); return; } $body = ''; foreach ($this->body as $chunk) { $body .= $chunk; (yield $chunk); } $this->body = $body; }