Skip to content

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

Closed
@makasim

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);

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