class ShippingOptionValidator extends BaseValidator (View source)

Properties

protected $parameters

The parameters used in the validation

from  BaseValidator

Methods

using(array ...$args)

Set the parameters to use for validation

bool
fail(string $where, string $reason)

Fail the validation

bool
pass()

Pass the validation

bool
validate()

Validate against the passed parameters.

Details

BaseValidator using(array ...$args)

Set the parameters to use for validation

Parameters

array ...$args

Return Value

BaseValidator

bool fail(string $where, string $reason)

Fail the validation

Parameters

string $where
string $reason

Return Value

bool

bool pass()

Pass the validation

Return Value

bool

bool validate()

Validate against the passed parameters.

Return Value

bool