ConnectionCheck
in package
Read onlyYes
FinalYes
Result of a live check of a connection's credentials against the third party.
Table of Contents
Properties
Methods
- failed() : self
- ok() : self
- __construct() : mixed
Properties
$ok
public
bool
$ok
$reason
Machine-readable reason, e.g. the third party's error code.
public
string|null
$reason
= null
Methods
failed()
public
static failed(string $reason) : self
Parameters
- $reason : string
Return values
selfok()
public
static ok() : self
Return values
self__construct()
private
__construct(bool $ok[, string|null $reason = null ]) : mixed
Parameters
- $ok : bool
- $reason : string|null = null