File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -389,8 +389,8 @@ Symfony provides two types of recipients:
389
389
390
390
.. versionadded :: 5.2
391
391
392
- The `AdminRecipient ` class was removed in Symfony 5.2, you should use
393
- `Recipient ` instead.
392
+ The `` AdminRecipient ` ` class was removed in Symfony 5.2, you should use
393
+ `` Recipient ` ` instead.
394
394
395
395
Configuring Channel Policies
396
396
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
@@ -506,7 +506,8 @@ very high and the recipient has a phone number::
506
506
namespace App\Notifier;
507
507
508
508
use Symfony\Component\Notifier\Notification\Notification;
509
- use Symfony\Component\Notifier\Recipient\Recipient;
509
+ use Symfony\Component\Notifier\Recipient\RecipientInterface;
510
+ use Symfony\Component\Notifier\Recipient\SmsRecipientInterface;
510
511
511
512
class InvoiceNotification extends Notification
512
513
{
@@ -545,7 +546,7 @@ and its ``asChatMessage()`` method::
545
546
use Symfony\Component\Notifier\Message\ChatMessage;
546
547
use Symfony\Component\Notifier\Notification\ChatNotificationInterface;
547
548
use Symfony\Component\Notifier\Notification\Notification;
548
- use Symfony\Component\Notifier\Recipient\Recipient ;
549
+ use Symfony\Component\Notifier\Recipient\SmsRecipientInterface ;
549
550
550
551
class InvoiceNotification extends Notification implements ChatNotificationInterface
551
552
{
You can’t perform that action at this time.
0 commit comments