Skip to content

[Notifier][RFC] Chatters and texters should not be transports #34545

@magnusnordlander

Description

@magnusnordlander

I was trying to understand the notifier component in order to write documentation for it, and I'm confused by Chatters and Texters.

I don't understand why Chatters and Texters are transports? Is there a use case where you'd want to do something like the following?

<?php
$notifier = new Notifier([
    new SmsChannel(new Chatter(new TwilioTransport('foo', 'bar', 'baz')))
]);

I'd be happy to work on a PR for this, but I would like some feedback first.

#SymfonyHackday

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions