File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -19,6 +19,11 @@ The component supports:
19
19
* **hashes ** - using JSON-like notation (e.g. ``{ foo: 'bar' } ``)
20
20
* **booleans ** - ``true `` and ``false ``
21
21
* **null ** - ``null ``
22
+ * **exponential ** - also known as scientific (e.g. ``1.99E+3 `` or ``1e-2 ``)
23
+
24
+ .. versionadded :: 4.4
25
+
26
+ The ``exponential `` literal was introduced in Symfony 4.4.
22
27
23
28
.. caution ::
24
29
Original file line number Diff line number Diff line change 60
60
61
61
Then, use the SMTP Gmail transport::
62
62
63
- use Symfony\Component\Mailer\Bridge\Google\Smtp\GmailTransport ;
63
+ use Symfony\Component\Mailer\Bridge\Google\Transport\GmailSmtpTransport ;
64
64
use Symfony\Component\Mailer\Mailer;
65
65
66
- $transport = new GmailTransport ('user', 'pass');
66
+ $transport = new GmailSmtpTransport ('user', 'pass');
67
67
$mailer = new Mailer($transport);
68
68
$mailer->send($email);
69
69
You can’t perform that action at this time.
0 commit comments