示例#1
0
 /**
  * @param BodyType|string $body
  * @return MessageType
  */
 public function setBody($body)
 {
     if (is_string($body)) {
         $body = new BodyType($body);
     }
     return parent::setBody($body);
 }