Skip to content

[client][dx] Message constructor must accept body, properties and headers.` #88

Closed

Description

@makasim

Now to create a message with a custom body you have to write two lines of code:

<?php

$message = new Message();
$message->setBody($body);

it would be good to:

<?php

$message = new Message($body);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions