Lines Matching defs:body
66 public function setBody($body): Bulk
68 if (isset($body) !== true) {
71 if (is_array($body) === true || $body instanceof Traversable) {
72 foreach ($body as $item) {
73 $this->body .= $this->serializer->serialize($item) . "\n";
75 } elseif (is_string($body)) {
76 $this->body = $body;
77 if (substr($body, -1) != "\n") {
78 $this->body .= "\n";