Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame] | 1 | <?php |
| 2 | |
| 3 | namespace Illuminate\Contracts\Mail; |
| 4 | |
| 5 | interface Mailer |
| 6 | { |
| 7 | /** |
| 8 | * Begin the process of mailing a mailable class instance. |
| 9 | * |
| 10 | * @param mixed $users |
| 11 | * @return \Illuminate\Mail\PendingMail |
| 12 | */ |
| 13 | public function to($users); |
| 14 | |
| 15 | /** |
| 16 | * Begin the process of mailing a mailable class instance. |
| 17 | * |
| 18 | * @param mixed $users |
| 19 | * @return \Illuminate\Mail\PendingMail |
| 20 | */ |
| 21 | public function bcc($users); |
| 22 | |
| 23 | /** |
| 24 | * Send a new message with only a raw text part. |
| 25 | * |
| 26 | * @param string $text |
| 27 | * @param mixed $callback |
| 28 | * @return void |
| 29 | */ |
| 30 | public function raw($text, $callback); |
| 31 | |
| 32 | /** |
| 33 | * Send a new message using a view. |
| 34 | * |
| 35 | * @param \Illuminate\Contracts\Mail\Mailable|string|array $view |
| 36 | * @param array $data |
| 37 | * @param \Closure|string|null $callback |
| 38 | * @return void |
| 39 | */ |
| 40 | public function send($view, array $data = [], $callback = null); |
Matthias Andreas Benkard | 7b2a3a1 | 2021-08-16 10:57:25 +0200 | [diff] [blame] | 41 | } |