mini\Mail\EmailInterface::withDate() Method

public abstract

Signature

public abstract function withDate(DateTimeInterface|string $date): static

Parameters

Name Type Default Description
$date DateTimeInterface|string required Documentation missing

Returns

static

Documentation

Return instance with the specified Date

If not set, the current date/time is used when the email is compiled.

Source

src/Mail/EmailInterface.php:357