ILIAS  release_8 Revision v8.19
All Data Structures Namespaces Files Functions Variables Modules Pages
MailDto.php
Go to the documentation of this file.
1 <?php
2 
19 declare(strict_types=1);
20 
22 
23 class MailDto
24 {
25  private int $mail_id;
26  private ?string $mail_subject;
27 
28  public function __construct(int $mail_id, ?string $mail_subject)
29  {
30  $this->mail_id = $mail_id;
31  $this->mail_subject = $mail_subject;
32  }
33 
34  public function getMailId(): int
35  {
36  return $this->mail_id;
37  }
38 
39  public function getMailSubject(): ?string
40  {
41  return $this->mail_subject;
42  }
43 }
__construct(int $mail_id, ?string $mail_subject)
Definition: MailDto.php:28