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
$_usedProperties
private
mixed
$_usedProperties
= []
$dsn
private
mixed
$dsn
$enabled
private
mixed
$enabled
$envelope
private
mixed
$envelope
$headers
private
mixed
$headers
$messageBus
private
mixed
$messageBus
$transports
private
mixed
$transports
Methods
__construct()
public
__construct([array<string|int, mixed> $value = [] ]) : mixed
Parameters
- $value : array<string|int, mixed> = []
dsn()
public
dsn(ParamConfigurator|mixed $value) : $this
Parameters
- $value : ParamConfigurator|mixed
Tags
Return values
$thisenabled()
public
enabled(ParamConfigurator|bool $value) : $this
Parameters
- $value : ParamConfigurator|bool
Tags
Return values
$thisenvelope()
public
envelope([array<string|int, mixed> $value = [] ]) : EnvelopeConfig
Parameters
- $value : array<string|int, mixed> = []
Return values
EnvelopeConfigheader()
public
header(string $name[, mixed $value = [] ]) : HeaderConfig|$this
Parameters
- $name : string
- $value : mixed = []
Return values
HeaderConfig|$thismessageBus()
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
Return values
$thistoArray()
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