-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Add docs on Address::fromString #12128
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add docs on Address::fromString #12128
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice addition, can you please apply my suggestions?
Sure, done |
This PR was merged into the 4.4 branch. Discussion ---------- [Mime] Add Address::fromString | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #33086 | License | MIT | Doc PR | symfony/symfony-docs#12128 This will allow to create a Address from a string such as 'Name <name@example.com>' Example: ```php $address = Address::fromString("Name <name@example.com>"); ``` Commits ------- 75ea8d0 Add Address::fromString
0261ef1
to
7422b24
Compare
@OskarStark updated this according to symfony/symfony#33091 |
Can you please apply my comment and fix the one mentioned by |
This PR was merged into the 4.4 branch. Discussion ---------- [Mime] Add Address::fromString | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | yes | BC breaks? | no | Deprecations? | no | Tests pass? | yes | Fixed tickets | #33086 | License | MIT | Doc PR | symfony/symfony-docs#12128 This will allow to create a Address from a string such as 'Name <name@example.com>' Example: ```php $address = Address::fromString("Name <name@example.com>"); ``` Commits ------- 75ea8d0d67 Add Address::fromString
@OskarStark done |
858619c
to
36960eb
Compare
This PR was squashed before being merged into the 4.4 branch (closes #12128). Discussion ---------- Add docs on Address::fromString See symfony/symfony#33086 Commits ------- 36960eb Add docs on Address::fromString
Giso, thanks for adding the docs for this feature that you also contributed. Congrats on your first Symfony Docs contribution! |
… 4.3 (ogizanagi) This PR was merged into the 4.3 branch. Discussion ---------- [Mailer][Mime] Address::fromString() is not available in 4.3 It was added in #12128 (4.4) So beware this change should not be merged up. Only merged to 4.3. Commits ------- 48c0100 [Mailer] Address::fromString() is not available in 4.3
See symfony/symfony#33086