ValidateCartForOrderCreation
class ValidateCartForOrderCreation extends BaseValidator (View source)
Properties
protected | $parameters | The parameters used in the validation |
from BaseValidator |
Methods
bool
validate()
Validate against the passed parameters.
Details
BaseValidator
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.