12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <?php
- namespace Illuminate\Contracts\Mail;
- interface Mailer
- {
- /**
- * Begin the process of mailing a mailable class instance.
- *
- * @param mixed $users
- * @return \Illuminate\Mail\PendingMail
- */
- public function to($users);
- /**
- * Begin the process of mailing a mailable class instance.
- *
- * @param mixed $users
- * @return \Illuminate\Mail\PendingMail
- */
- public function bcc($users);
- /**
- * Send a new message with only a raw text part.
- *
- * @param string $text
- * @param mixed $callback
- * @return void
- */
- public function raw($text, $callback);
- /**
- * Send a new message using a view.
- *
- * @param string|array|\Illuminate\Contracts\Mail\Mailable $view
- * @param array $data
- * @param \Closure|string|null $callback
- * @return void
- */
- public function send($view, array $data = [], $callback = null);
- /**
- * Get the array of failed recipients.
- *
- * @return array
- */
- public function failures();
- }
|