Conditions | 1 |
Paths | 1 |
Total Lines | 13 |
Code Lines | 9 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
80 | public function send() |
||
81 | { |
||
82 | $message = new Message(); |
||
83 | $message |
||
84 | ->setType($this->type) |
||
85 | ->setObject($this->object) |
||
86 | ->setMessage($this->message) |
||
87 | ->setSender($this->sender) |
||
88 | ->setRecipient($this->recipient) |
||
89 | ->setIsDeletedSender(true) |
||
90 | ; |
||
91 | |||
92 | $this->messageRepository->save($message); |
||
93 | } |
||
95 |