Skip to content

Commit 7422b24

Browse files
Renamed NamedAddress to Address
1 parent 7c9638d commit 7422b24

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mailer.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,10 @@ Multiple addresses are defined with the ``addXXX()`` methods::
157157
// ...
158158
;
159159

160-
A ``NamedAddress`` can be created from a single string::
160+
An ``Address`` can be created from a single string::
161161

162-
$email = (new Email())
163-
->from(NamedAddress::fromString('Fabien <fabien@example.com>'))
162+
$email = (new Email())
163+
->from(Address::fromString('Fabien <fabien@example.com>'))
164164
// ...
165165
;
166166

0 commit comments

Comments
 (0)