Documentation

EmailTask
in package
implements TaskInterface

FinalYes

Simple email task DTO.

PHPStan generics (illustration): @template-implements TaskInterface

Table of Contents

Interfaces

TaskInterface
Marker interface for messages/tasks that can be dispatched.

Properties

$body  : string
$from  : string|null
$subject  : string
$to  : string

Methods

__construct()  : mixed

Properties

$from read-only

public string|null $from = null

Methods

__construct()

public __construct(string $to, string $subject, string $body[, string|null $from = null ]) : mixed
Parameters
$to : string
$subject : string
$body : string
$from : string|null = null
On this page

Search results