26 lines
648 B
PHP
26 lines
648 B
PHP
|
<?php
|
||
|
|
||
|
namespace Illuminate\Contracts\Mail;
|
||
|
|
||
|
interface MailQueue
|
||
|
{
|
||
|
/**
|
||
|
* Queue a new e-mail message for sending.
|
||
|
*
|
||
|
* @param \Illuminate\Contracts\Mail\Mailable|string|array $view
|
||
|
* @param string|null $queue
|
||
|
* @return mixed
|
||
|
*/
|
||
|
public function queue($view, $queue = null);
|
||
|
|
||
|
/**
|
||
|
* Queue a new e-mail message for sending after (n) seconds.
|
||
|
*
|
||
|
* @param \DateTimeInterface|\DateInterval|int $delay
|
||
|
* @param \Illuminate\Contracts\Mail\Mailable|string|array $view
|
||
|
* @param string|null $queue
|
||
|
* @return mixed
|
||
|
*/
|
||
|
public function later($delay, $view, $queue = null);
|
||
|
}
|