Skip to content

[Notifier] Rename/Change AdminRecipient class #35558

@wouterj

Description

@wouterj

While testing out the new Notifier component to write some docs about it (ref symfony/symfony-docs#13025), I've found the AdminRecipient classname a bit confusing. It makes sense when purely looking at it from an error notification perspective.

However, I think the Notifier component shines in being able to sent any kind of notification to any kind of transport.

I would propose to merge this with Recipient, so the base class can have both email or phone:

$recipient = (new Recipient())->phone(...);
$recipient = (new Recipient())->email(...);
$recipient = (new Recipient())
    ->phone(...)
    ->email(...)
;

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

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy