ValidCoupon
class ValidCoupon implements Rule (View source)
Methods
bool
passes(string $attribute, mixed $value)
Determine if the validation rule passes.
string
message()
Get the validation error message.
Details
bool
passes(string $attribute, mixed $value)
Determine if the validation rule passes.
string
message()
Get the validation error message.