class RejectEmptyString implements ValidationRule (View source)

Properties

bool $implicit

Indicates whether the rule should be implicit.

Methods

void
validate(string $attribute, mixed $value, Closure $fail)

Run the validation rule.

Details

void validate(string $attribute, mixed $value, Closure $fail)

Run the validation rule.

Parameters

string $attribute
mixed $value
Closure $fail

Return Value

void