ILIAS  trunk Revision v11.0_alpha-3011-gc6b235a2e85
FolderDto.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
22
24{
26 private array $orphaned_mail_objects = [];
27
28 public function __construct(private readonly int $folder_id, private readonly ?string $folder_title)
29 {
30 }
31
32 public function getFolderId(): int
33 {
34 return $this->folder_id;
35 }
36
37 public function getFolderTitle(): ?string
38 {
39 return $this->folder_title;
40 }
41
42 public function addMailObject(MailDto $mail_obj): void
43 {
44 $this->orphaned_mail_objects[$mail_obj->getMailId()] = $mail_obj;
45 }
46
50 public function getOrphanedMailObjects(): array
51 {
53 }
54}
__construct(private readonly int $folder_id, private readonly ?string $folder_title)
Definition: FolderDto.php:28