We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b3534c7 commit 4ad9f58Copy full SHA for 4ad9f58
notifier.rst
@@ -360,13 +360,11 @@ you to send messages to chat services::
360
use Symfony\Component\HttpFoundation\Response;
361
use Symfony\Component\Notifier\ChatterInterface;
362
use Symfony\Component\Notifier\Message\ChatMessage;
363
- use Symfony\Component\Routing\Annotation\Route;
+ use Symfony\Component\Routing\Attribute\Route;
364
365
class CheckoutController extends AbstractController
366
{
367
- /**
368
- * @Route("/checkout/thankyou")
369
- */
+ #[Route('/checkout/thankyou')]
370
public function thankyou(ChatterInterface $chatter): Response
371
372
$message = (new ChatMessage('You got a new invoice for 15 EUR.'))
0 commit comments