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
Methods
- __construct() : mixed
Properties
$body read-only
public
string
$body
$from read-only
public
string|null
$from
= null
$subject read-only
public
string
$subject
$to read-only
public
string
$to
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