Copied!

ConnectionCheckerInterface

ConnectionCheckerInterface.php : 15
Interface

Methods

publiccheck()

ConnectionCheckerInterface.php : 26

Checks that the given connection settings work, e.g. before they are saved: the Quable API answers at the instance URL, accepts the API token, and has a catalog with the channel code.

public check(ConnectionConfig $connectionConfig) : void

The webhook secret and the language map are not checked.

Parameters

Name Type Default value Description
$connectionConfig ConnectionConfig - -
Tags
Throws
ConnectionFailedException

when the settings do not work

Throws
ConnectionNotConfiguredException

when a setting is missing