File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -23,7 +23,9 @@ you to send SMS messages::
2323 // the phone number to send the SMS message to
2424 '+1411111111',
2525 // the message
26- 'A new login was detected!'
26+ 'A new login was detected!',
27+ // optionally, you can override default "from" defined in transports
28+ '+1422222222',
2729 );
2830
2931 $sentMessage = $texter->send($sms);
@@ -32,6 +34,10 @@ you to send SMS messages::
3234 }
3335 }
3436
37+ .. versionadded :: 6.2
38+
39+ The 3rd argument of ``SmsMessage `` (``$from ``) was introduced in Symfony 6.2.
40+
3541The ``send() `` method returns a variable of type
3642:class: `Symfony\\ Component\\ Notifier\\ Message\\ SentMessage ` which provides
3743information such as the message ID and the original message contents.
You can’t perform that action at this time.
0 commit comments