PendingMailFake
class PendingMailFake extends PendingMail (View source)
Traits
Properties
protected Mailer | $mailer | The mailer instance. |
from PendingMail |
protected string | $locale | The locale of the message. |
from PendingMail |
protected array | $to | The "to" recipients of the message. |
from PendingMail |
protected array | $cc | The "cc" recipients of the message. |
from PendingMail |
protected array | $bcc | The "bcc" recipients of the message. |
from PendingMail |
Methods
$this|TWhenReturnType
when($value = null, callable|null $callback = null, callable|null $default = null)
Apply the callback if the given "value" is (or resolves to) truthy.
from
Conditionable
$this|TUnlessReturnType
unless($value = null, callable|null $callback = null, callable|null $default = null)
Apply the callback if the given "value" is (or resolves to) falsy.
from
Conditionable
SentMessage|null
SentMessage|null
mixed
later(DateTimeInterface|DateInterval|int $delay, Mailable $mailable)
Deliver the queued message after (n) seconds.
from
PendingMail
Details
$this|TWhenReturnType
when($value = null, callable|null $callback = null, callable|null $default = null)
Apply the callback if the given "value" is (or resolves to) truthy.
$this|TUnlessReturnType
unless($value = null, callable|null $callback = null, callable|null $default = null)
Apply the callback if the given "value" is (or resolves to) falsy.
mixed
later(DateTimeInterface|DateInterval|int $delay, Mailable $mailable)
Deliver the queued message after (n) seconds.