Definition at line 21 of file class.ilMailValueObject.php.
◆ __construct()
ilMailValueObject::__construct |
( |
private readonly string |
$from, |
|
|
private readonly string |
$recipients, |
|
|
private readonly string |
$recipients_cc, |
|
|
private readonly string |
$recipients_bcc, |
|
|
private readonly string |
$subject, |
|
|
private readonly string |
$body, |
|
|
array |
$attachments, |
|
|
private readonly bool |
$use_placeholders = false , |
|
|
private readonly bool |
$save_in_sent_box = false |
|
) |
| |
- Parameters
-
- Exceptions
-
Definition at line 30 of file class.ilMailValueObject.php.
40 {
41 $this->attachments = array_filter(array_map(
'trim',
$attachments));
43 throw new InvalidArgumentException('Subject must not be longer than 255 characters');
44 }
45 }
readonly array $attachments
static strLen(string $a_string)
References $attachments, and ilStr\strLen().
◆ getAttachments()
ilMailValueObject::getAttachments |
( |
| ) |
|
◆ getBody()
ilMailValueObject::getBody |
( |
| ) |
|
◆ getFrom()
ilMailValueObject::getFrom |
( |
| ) |
|
◆ getRecipients()
ilMailValueObject::getRecipients |
( |
| ) |
|
◆ getRecipientsBCC()
ilMailValueObject::getRecipientsBCC |
( |
| ) |
|
◆ getRecipientsCC()
ilMailValueObject::getRecipientsCC |
( |
| ) |
|
◆ getSubject()
ilMailValueObject::getSubject |
( |
| ) |
|
◆ isUsingPlaceholders()
ilMailValueObject::isUsingPlaceholders |
( |
| ) |
|
◆ shouldSaveInSentBox()
ilMailValueObject::shouldSaveInSentBox |
( |
| ) |
|
◆ $attachments
readonly array ilMailValueObject::$attachments |
|
private |
The documentation for this class was generated from the following file: