| 1 | <?php |
||
| 20 | class Mail extends ErrorLog |
||
| 21 | { |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Constructor. |
||
| 25 | * |
||
| 26 | * @param string $email The email to append to. |
||
| 27 | * @param string|null $headers A string of additional (mail) headers. |
||
| 28 | * @throws Psr\Log\InvalidArgumentException If the email does not validate. |
||
| 29 | */ |
||
| 30 | 12 | public function __construct($email, $headers = null) |
|
| 42 | |||
| 43 | } |
||
| 44 |