Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0c4a417

Browse files
committed
added some comments
1 parent de2664e commit 0c4a417

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

src/Symfony/Component/Mailer/MailerInterface.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,10 @@
1515
use Symfony\Component\Mime\RawMessage;
1616

1717
/**
18+
* Interface for mailers able to send emails synchronous and/or asynchronous.
19+
*
20+
* Implementations must support synchronous and asynchronous sending.
21+
*
1822
* @author Fabien Potencier <[email protected]>
1923
*
2024
* @experimental in 4.3

src/Symfony/Component/Mailer/Transport/TransportInterface.php

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
use Symfony\Component\Mime\RawMessage;
1818

1919
/**
20+
* Interface for all mailer transports.
21+
*
22+
* When sending emails, you should prefer MailerInterface implementations
23+
* as they allow asynchronous sending.
24+
*
2025
* @author Fabien Potencier <[email protected]>
2126
*
2227
* @experimental in 4.3

0 commit comments

Comments
 (0)