8000 Use Route attribute instead annotations · symfony/symfony-docs@fcfc6bd · GitHub
[go: up one dir, main page]

Skip to content

Commit fcfc6bd

Browse files
authored
Use Route attribute instead annotations
Use Route attribute instead annotations available since 5.2
1 parent 775402d commit fcfc6bd

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

notifier.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -179,9 +179,7 @@ send SMS messages::
179179

180180
class SecurityController
181181
{
182-
/**
183-
* @Route("/login/success")
184-
*/
182+
#[Route('/login/success')
185183
public function loginSuccess(TexterInterface $texter)
186184
{
187185
$sms = new SmsMessage(

0 commit comments

Comments
 (0)
0