Total Complexity | 3 |
Total Lines | 41 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
16 | class Email implements TimestampableInterface |
||
17 | { |
||
18 | use TimestampableTrait; |
||
19 | |||
20 | // Includes the recipient and the sender mails. |
||
21 | use Part\ParticipantTrait; |
||
22 | |||
23 | // Includes the body to HTML and text format, the subject and the attachments. |
||
24 | use Part\MessageTrait; |
||
25 | |||
26 | |||
27 | /** |
||
28 | * @ORM\Column(name="id", type="integer") |
||
29 | * @ORM\Id |
||
30 | * @ORM\GeneratedValue(strategy="IDENTITY") |
||
31 | */ |
||
32 | private ?int $id = null; |
||
33 | |||
34 | /** |
||
35 | * Email Constructor. |
||
36 | */ |
||
37 | public function __construct() |
||
39 | } |
||
40 | |||
41 | /** |
||
42 | * @return int |
||
43 | */ |
||
44 | public function getId(): ?int |
||
47 | } |
||
48 | |||
49 | /** |
||
50 | * @param int $id |
||
51 | * @return Email |
||
52 | */ |
||
53 | public function setId(int $id): Email |
||
59 |