Apply PSR-12 code style (#3886)
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / system / email / mime / IRecipientAwareMimePart.class.php
CommitLineData
6c9b03b5 1<?php
a9229942 2
6c9b03b5 3namespace wcf\system\email\mime;
a9229942 4
6c9b03b5
TD
5use 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
16interface 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}