Vendor lock
This commit is contained in:
33
vendor/illuminate/contracts/Mail/Mailable.php
vendored
Normal file
33
vendor/illuminate/contracts/Mail/Mailable.php
vendored
Normal file
@ -0,0 +1,33 @@
|
||||
<?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\Mailer $mailer
|
||||
* @return void
|
||||
*/
|
||||
public function send(Mailer $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);
|
||||
}
|
Reference in New Issue
Block a user