Skip to content

Commit 83e7ec8

Browse files
authored
Update mailer.rst
Needs Annotation\Route in the use section for the route to be detected.
1 parent f7708fd commit 83e7ec8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

mailer.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -284,6 +284,7 @@ and create an :class:`Symfony\\Component\\Mime\\Email` object::
284284

285285
use Symfony\Bundle\FrameworkBundle\Controller\AbstractController;
286286
use Symfony\Component\HttpFoundation\Response;
287+
use Symfony\Component\Routing\Annotation\Route;
287288
use Symfony\Component\Mailer\MailerInterface;
288289
use Symfony\Component\Mime\Email;
289290

0 commit comments

Comments
 (0)