123456789101112131415161718192021222324252627282930313233343536373839 |
- <?php
- declare(strict_types=1);
- namespace OCP\Mail\Events;
- use OCP\EventDispatcher\Event;
- use OCP\Mail\IMessage;
- class BeforeMessageSent extends Event {
-
- private $message;
-
- public function __construct(IMessage $message) {
- parent::__construct();
- $this->message = $message;
- }
-
- public function getMessage(): IMessage {
- return $this->message;
- }
- }
|