Copied!

ChannelLoaderInterface

ChannelLoaderInterface.php : 15
Interface

Methods

publicloadChannels()

ChannelLoaderInterface.php : 26

Loads the product catalogs of the Quable instance, one of which the channel code names, e.g. to choose it before the settings are saved. Only the instance URL and the API token are used.

public loadChannels(ConnectionConfig $connectionConfig) : array<int, QuableChannel>

Parameters

Name Type Default value Description
$connectionConfig ConnectionConfig - -

Return values

array<int, QuableChannel>

Tags
Throws
ConnectionFailedException

when the settings do not work

Throws
ConnectionNotConfiguredException

when a setting is missing