1 | 1 |
deleted file mode 100644 |
... | ... |
@@ -1,48 +0,0 @@ |
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 string|array|\Illuminate\Contracts\Mail\Mailable $view |
|
36 |
- * @param array $data |
|
37 |
- * @param \Closure|string|null $callback |
|
38 |
- * @return void |
|
39 |
- */ |
|
40 |
- public function send($view, array $data = [], $callback = null); |
|
41 |
- |
|
42 |
- /** |
|
43 |
- * Get the array of failed recipients. |
|
44 |
- * |
|
45 |
- * @return array |
|
46 |
- */ |
|
47 |
- public function failures(); |
|
48 |
-} |
1 | 1 |
new file mode 100644 |
... | ... |
@@ -0,0 +1,48 @@ |
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 string|array|\Illuminate\Contracts\Mail\Mailable $view |
|
36 |
+ * @param array $data |
|
37 |
+ * @param \Closure|string|null $callback |
|
38 |
+ * @return void |
|
39 |
+ */ |
|
40 |
+ public function send($view, array $data = [], $callback = null); |
|
41 |
+ |
|
42 |
+ /** |
|
43 |
+ * Get the array of failed recipients. |
|
44 |
+ * |
|
45 |
+ * @return array |
|
46 |
+ */ |
|
47 |
+ public function failures(); |
|
48 |
+} |