ILIAS  trunk Revision v13.0_alpha-62-g3b72d83f2e5
MimeMailService.php
Go to the documentation of this file.
1<?php
2
19declare(strict_types=1);
20
21namespace ILIAS\Mail\Service;
22
28
30{
31 public function __construct(protected Container $dic)
32 {
33 }
34
36 {
37 return $this->dic['mail.mime.transport.factory'];
38 }
39
41 {
42 return $this->dic['mail.mime.sender.factory'];
43 }
44
45 public function assets(): MailAssets
46 {
47 return $this->dic[MailAssets::class];
48 }
49
50 public function bodyComposer(): MailBodyComposer
51 {
52 return $this->dic[MailBodyComposer::class];
53 }
54}
Customizing of pimple-DIC for ILIAS.
Definition: Container.php:38
__construct(protected Container $dic)