Skip to content

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

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
makasim opened this issue May 17, 2017 · 1 comment
Closed

Comments

@makasim
Copy link
Member

makasim commented May 17, 2017

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);
@Koc
Copy link
Contributor

Koc commented May 23, 2017

relates to #96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants