ProviderConfigBrevo
in package
implements
ProviderConfigVariant
FinalYes
The `brevo` arm of {@see ProviderConfig} (`kind: "brevo"`).
Table of Contents
Interfaces
- ProviderConfigVariant
- Provider-specific connection details.
Properties
- $apiUrl : string|null
Methods
- __construct() : mixed
- Constructs the `brevo` arm.
- fromArray() : self
- Rebuilds the `brevo` arm from one decoded JSON object.
- jsonSerialize() : array<string, mixed>
- Renders this arm for `json_encode()`.
- toArray() : array<string, mixed>
- Renders this arm to its wire form, re-attaching `kind: "brevo"`.
Properties
$apiUrl read-only
public
string|null
$apiUrl
= null
Methods
__construct()
Constructs the `brevo` arm.
public
__construct([string|null $apiUrl = null ]) : mixed
Parameters
- $apiUrl : string|null = null
-
Override base URL (useful for testing / self-hosted instances).
fromArray()
Rebuilds the `brevo` arm from one decoded JSON object.
public
static fromArray(array<string, mixed> $data) : self
Parameters
- $data : array<string, mixed>
-
The raw wire object.
Return values
selfjsonSerialize()
Renders this arm for `json_encode()`.
public
jsonSerialize() : array<string, mixed>
Return values
array<string, mixed>toArray()
Renders this arm to its wire form, re-attaching `kind: "brevo"`.
public
toArray() : array<string, mixed>