CoolCMS API

ConnectionCheck
in package

Read onlyYes
FinalYes

Result of a live check of a connection's credentials against the third party.

Table of Contents

Properties

$ok  : bool
$reason  : string|null
Machine-readable reason, e.g. the third party's error code.

Methods

failed()  : self
ok()  : self
__construct()  : mixed

Properties

$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
self

__construct()

private __construct(bool $ok[, string|null $reason = null ]) : mixed
Parameters
$ok : bool
$reason : string|null = null
On this page

Search results