Lines Matching refs:body
70 public function setBody($body): FindStructure
72 if (isset($body) !== true) {
75 if (is_array($body) === true || $body instanceof Traversable) {
76 foreach ($body as $item) {
77 $this->body .= $this->serializer->serialize($item) . "\n";
79 } elseif (is_string($body)) {
80 $this->body = $body;
81 if (substr($body, -1) != "\n") {
82 $this->body .= "\n";