Copied!

ConnectionFailureMessage

ConnectionFailureMessage.php : 21
Read-only
Final

Why the product catalog failed, when the failure comes from the Quable connection: what the back office tells the user, translated only when it is shown. Recognize it with instanceof, e.g. to offer a link to the connection settings next to it.

Methods

public__construct()

ConnectionFailureMessage.php : 23

Parameters

Name Type Default value Description
$failure ConnectionFailedException|ConnectionNotConfiguredException - -

publicgetFailure()

ConnectionFailureMessage.php : 27

Return values

ConnectionFailedException|ConnectionNotConfiguredException

publictrans()

ConnectionFailureMessage.php : 32
public trans(TranslatorInterface $translator[, string|null $locale = null ]) : string

Parameters

Name Type Default value Description
$translator TranslatorInterface - -
$locale string|null null -

Return values

string