Documentation

MailerConfig
in package

This class is automatically generated to help in creating a config.

Table of Contents

Properties

$_usedProperties  : mixed
$dsn  : mixed
$enabled  : mixed
$envelope  : mixed
$headers  : mixed
$messageBus  : mixed
$transports  : mixed

Methods

__construct()  : mixed
dsn()  : $this
enabled()  : $this
envelope()  : EnvelopeConfig
header()  : HeaderConfig|$this
messageBus()  : $this
The message bus to use. Defaults to the default bus if the Messenger component is installed.
toArray()  : array<string|int, mixed>
transport()  : $this

Properties

Methods

__construct()

public __construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
$value : array<string|int, mixed> = []

messageBus()

The message bus to use. Defaults to the default bus if the Messenger component is installed.

public messageBus(ParamConfigurator|mixed $value) : $this
Parameters
$value : ParamConfigurator|mixed
Tags
default

null

Return values
$this

toArray()

public toArray() : array<string|int, mixed>
Return values
array<string|int, mixed>

transport()

public transport(string $name, mixed $value) : $this
Parameters
$name : string
$value : mixed
Return values
$this

        
On this page

Search results