Copied!

OptionsValidatorError

OptionsValidatorError.php : 16

Validation error for payment method type options.

Tags
See
OptionsValidatorInterface

Methods

public__construct()

OptionsValidatorError.php : 30
public __construct(string|null $target, string $message[, array<string, scalar> $parameters = [] ])

Parameters

Name Type Default value Description
$target string|null -

Option that caused the error

$message string -

Error message

$parameters array<string, scalar> []

Parameters for the error message

publicgetMessage()

OptionsValidatorError.php : 40

Returns the error message.

public getMessage() : string

Return values

string

publicgetParameters()

OptionsValidatorError.php : 50

Returns the parameters for the error message.

public getParameters() : array<string, scalar>

Return values

array<string, scalar>

publicgetTarget()

OptionsValidatorError.php : 58

Returns the option that caused the error.

public getTarget() : string|null

Return values

string|null