public static function wrap($message, array $stamps = []): self
    {
        $envelope = $message instanceof self ? $message : new self($message);

        return $envelope->with(...$stamps);
    }
public static function wrap($message, array $stamps = []): self
    {
        $envelope = $message instanceof self ? $message : new self($message);

        return $envelope->with(...$stamps);
    }
public static function wrap ( $ message , array $ stamps = [ ] ) : self { $ envelope = $ message instanceof self ? $ message : new self ( $ message ) ; return $ envelope -> with ( ... $ stamps ) ; }
Makes sure the message is in an Envelope and adds the given stamps.

@param object|Envelope  $message
@param StampInterface[] $stamps
Makes sure the message is in an Envelope and adds the given stamps .