Blame view
public/vendor/illuminate/contracts/Mail/Mailable.php
1.72 KB
86143e36f Коммит вторник |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 |
<?php namespace Illuminate\Contracts\Mail; use Illuminate\Contracts\Queue\Factory as Queue; interface Mailable { /** * Send the message using the given mailer. * * @param \Illuminate\Contracts\Mail\Factory|\Illuminate\Contracts\Mail\Mailer $mailer * @return void */ public function send($mailer); /** * Queue the given message. * * @param \Illuminate\Contracts\Queue\Factory $queue * @return mixed */ public function queue(Queue $queue); /** * Deliver the queued message after the given delay. * * @param \DateTimeInterface|\DateInterval|int $delay * @param \Illuminate\Contracts\Queue\Factory $queue * @return mixed */ public function later($delay, Queue $queue); /** * Set the recipients of the message. * * @param object|array|string $address * @param string|null $name * @return self */ public function cc($address, $name = null); /** * Set the recipients of the message. * * @param object|array|string $address * @param string|null $name * @return $this */ public function bcc($address, $name = null); /** * Set the recipients of the message. * * @param object|array|string $address * @param string|null $name * @return $this */ public function to($address, $name = null); /** * Set the locale of the message. * * @param string $locale * @return $this */ public function locale($locale); /** * Set the name of the mailer that should be used to send the message. * * @param string $mailer * @return $this */ public function mailer($mailer); } |