Context
Table of Contents
Constants
- CAT_EXTERNAL = 1
- PRIORITY_HIGH = 1
- PRIORITY_LOW = 3
- PRIORITY_NORMAL = 2
Methods
- __construct() : mixed
- getCallback() : Config|null
- Get callback config instance.
- getCategory() : int|null
- getKeepAlive() : string|null
- getPriority() : int|null
- getSmtp() : Config|null
- setCallback() : $this
- Get callback config instance.
- setCategory() : $this
- setKeepAlive() : mixed
- setPriority() : $this
- setSmtp() : $this
Constants
CAT_EXTERNAL
public
mixed
CAT_EXTERNAL
= 1
PRIORITY_HIGH
public
mixed
PRIORITY_HIGH
= 1
PRIORITY_LOW
public
mixed
PRIORITY_LOW
= 3
PRIORITY_NORMAL
public
mixed
PRIORITY_NORMAL
= 2
Methods
__construct()
public
__construct([array<string|int, mixed> $params = null ]) : mixed
Parameters
- $params : array<string|int, mixed> = null
getCallback()
Get callback config instance.
public
getCallback() : Config|null
Return values
Config|nullgetCategory()
public
getCategory() : int|null
Return values
int|nullgetKeepAlive()
public
getKeepAlive() : string|null
Return values
string|nullgetPriority()
public
getPriority() : int|null
Return values
int|nullgetSmtp()
public
getSmtp() : Config|null
Return values
Config|nullsetCallback()
Get callback config instance.
public
setCallback(Config $config) : $this
Parameters
- $config : Config
-
Callback config instance.
Return values
$thissetCategory()
public
setCategory(int $category) : $this
Parameters
- $category : int
-
See Context CAT_* constants.
Return values
$thissetKeepAlive()
public
setKeepAlive(string|null $keepAlive) : mixed
Parameters
- $keepAlive : string|null
setPriority()
public
setPriority(int $priority) : $this
Parameters
- $priority : int
-
See Context PRIORITY_* constants.
Return values
$thissetSmtp()
public
setSmtp(Config $config) : $this
Parameters
- $config : Config
-
Smtp config.