original_string: public static function wrap($message, array $stamps = []): self
      {
          $envelope = $message instanceof self ? $message : new self($message);
  
          return $envelope->with(...$stamps);
      }
code: public static function wrap($message, array $stamps = []): self
      {
          $envelope = $message instanceof self ? $message : new self($message);
  
          return $envelope->with(...$stamps);
      }
code_tokens: public static function wrap ( $ message , array $ stamps = [ ] ) : self { $ envelope = $ message instanceof self ? $ message : new self ( $ message ) ; return $ envelope -> with ( ... $ stamps ) ; }
docstring: Makes sure the message is in an Envelope and adds the given stamps.
  
  @param object|Envelope  $message
  @param StampInterface[] $stamps
docstring_tokens: Makes sure the message is in an Envelope and adds the given stamps .