File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -10,14 +10,15 @@ How to send Chat Messages
10
10
:doc: `experimental feature </contributing/code/experimental >`.
11
11
12
12
The :class: `Symfony\\ Component\\ Notifier\\ ChatterInterface ` class allows
13
- you to sent messages to chat services like Slack or Telegram::
13
+ you to send messages to chat services like Slack or Telegram::
14
14
15
15
// src/Controller/CheckoutController.php
16
16
namespace App\Controller;
17
17
18
- use Symfony\Component\Notifier\Notification\Notification;
19
- use Symfony\Component\Notifier\NotifierInterface;
20
- use Symfony\Component\Notifier\Recipient\AdminRecipient;
18
+ use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
19
+ use Symfony\Component\Notifier\ChatterInterface;
20
+ use Symfony\Component\Notifier\Message\ChatMessage;
21
+ use Symfony\Component\Routing\Annotation\Route;
21
22
22
23
class CheckoutController extends AbstractController
23
24
{
Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ you to send SMS messages::
14
14
15
15
// src/Controller/SecurityController.php
16
16
namespace App\Controller;
17
+
18
+ use Symfony\Component\Notifier\Message\SmsMessage;
19
+ use Symfony\Component\Notifier\TexterInterface;
20
+ use Symfony\Component\Routing\Annotation\Route;
17
21
18
22
class SecurityController
19
23
{
You can’t perform that action at this time.
0 commit comments