Commit | Line | Data |
---|---|---|
6c9b03b5 | 1 | <?php |
a9229942 | 2 | |
6c9b03b5 | 3 | namespace wcf\system\email\mime; |
a9229942 | 4 | |
6c9b03b5 TD |
5 | use wcf\system\email\Mailbox; |
6 | ||
7 | /** | |
8 | * Represents a mime part that can be customized based in the recipient Mailbox. | |
a9229942 TD |
9 | * |
10 | * @author Tim Duesterhus | |
11 | * @copyright 2001-2019 WoltLab GmbH | |
12 | * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php> | |
13 | * @package WoltLabSuite\Core\System\Email\Mime | |
14 | * @since 3.0 | |
6c9b03b5 | 15 | */ |
a9229942 TD |
16 | interface IRecipientAwareMimePart |
17 | { | |
18 | /** | |
19 | * Makes this mime part aware of it's recipient. | |
20 | * Note: `null` is a valid parameter and denotes that this mime part should | |
21 | * not be individualized. | |
22 | * | |
23 | * @param Mailbox $mailbox | |
24 | */ | |
25 | public function setRecipient(?Mailbox $mailbox = null); | |
6c9b03b5 | 26 | } |