Lines Matching refs:body
77 public function setBody($body): Bulk
79 if (isset($body) !== true) {
82 if (is_array($body) === true || $body instanceof Traversable) {
83 foreach ($body as $item) {
84 $this->body .= $this->serializer->serialize($item) . "\n";
86 } elseif (is_string($body)) {
87 $this->body = $body;
88 if (substr($body, -1) != "\n") {
89 $this->body .= "\n";