Skip to content

Typo and namespace import reference fixed #13456

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

Merged
merged 1 commit into from
Mar 31, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions notifier/chatters.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ How to send Chat Messages
:doc:`experimental feature </contributing/code/experimental>`.

The :class:`Symfony\\Component\\Notifier\\ChatterInterface` class allows
you to sent messages to chat services like Slack or Telegram::
you to send messages to chat services like Slack or Telegram::

// src/Controller/CheckoutController.php
namespace App\Controller;

use Symfony\Component\Notifier\Notification\Notification;
use Symfony\Component\Notifier\NotifierInterface;
use Symfony\Component\Notifier\Recipient\AdminRecipient;
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
use Symfony\Component\Notifier\ChatterInterface;
use Symfony\Component\Notifier\Message\ChatMessage;
use Symfony\Component\Routing\Annotation\Route;

class CheckoutController extends AbstractController
{
Expand Down