Conditions | 1 |
Paths | 1 |
Total Lines | 6 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
45 | public function send(Mail\Message $mail): void |
||
46 | { |
||
47 | $this->autoremove(); |
||
48 | list($sec) = explode(' ', substr(microtime(), 2)); |
||
49 | $this->lastFile = $this->path . date('Y-m-d_H-i-s-') . $sec . '.eml'; |
||
50 | file_put_contents($this->lastFile, $mail->generateMessage()); |
||
51 | } |
||
71 |
This interface has been deprecated. The supplier of the interface has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the interface will be removed and what other interface to use instead.