-
-
Notifications
You must be signed in to change notification settings - Fork 9.6k
[Notifier] Add Contact Everyone Bridge #46395
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
Conversation
Hey! I see that this is your first PR. That is great! Welcome! Symfony has a contribution guide which I suggest you to read. In short:
Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change. When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor! I am going to sit back now and wait for the reviews. Cheers! Carsonbot |
src/Symfony/Component/Notifier/Bridge/ContactEveryone/ContactEveryoneTransport.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/ContactEveryone/CHANGELOG.md
Outdated
Show resolved
Hide resolved
a805b4c
to
40ef71f
Compare
src/Symfony/Component/Notifier/Bridge/ContactEveryone/ContactEveryoneTransport.php
Outdated
Show resolved
Hide resolved
...fony/Component/Notifier/Bridge/ContactEveryone/Tests/ContactEveryoneTransportFactoryTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/ContactEveryone/Tests/ContactEveryoneTransportTest.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/Notifier/Bridge/ContactEveryone/composer.json
Outdated
Show resolved
Hide resolved
868cf5a
to
723ad78
Compare
src/Symfony/Component/Notifier/Bridge/ContactEveryone/Tests/ContactEveryoneTransportTest.php
Outdated
Show resolved
Hide resolved
723ad78
to
89b2981
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you please open a PR on symfony-docs
repo? Thanks
@fabpot is it possible to to add this exception to fabbot.io? |
friendly ping @fabpot |
{ | ||
$dsn = sprintf('contact-everyone://%s', $this->getEndpoint()); | ||
|
||
if (null !== $this->diffusionName) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (null !== $this->diffusionName) { | |
if ($this->diffusionName) { |
$dsn .= sprintf('?diffusionname=%s', $this->diffusionName); | ||
} | ||
|
||
if (null !== $this->category) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if (null !== $this->category) { | |
if ($this->category) { |
- `DIFFUSION_NAME` (optional) allows you to define the label of the diffusion that will be displayed in the event logs. | ||
- `CATEGORY` (optional) allows you to define the label of the category that will be displayed in the event logs. | ||
|
||
This bridge uses the light version of Contact Everyone api. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This bridge uses the light version of Contact Everyone api. | |
This bridge uses the light version of Contact Everyone API. |
``` | ||
|
||
where: | ||
- `TOKEN` is your Contact Everyone api token |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- `TOKEN` is your Contact Everyone api token | |
- `TOKEN` is your Contact Everyone API token |
9e64c34
to
7f26839
Compare
Thank you @franckranaivo. |
7f26839
to
539d2a1
Compare
@franckranaivo Can you submit a PR for a recipe? Something like this: https://github.com/symfony/recipes/pull/1102/files |
Sure. Thank you @fabpot for symfony/symfony-docs#16915 for the PR Docs. |
Add Contact Everyone Bridge by Orange Business.
This bridge uses the light version of the api which allows SMS to be sent individually.