interface
Illuminate
/
Contracts
/
Validation
/
Rule
Rule
Methods
public
passes ( $attribute , $value ) : bool
Determine if the validation rule passes.
Parameters
- $attribute string
- $value mixed
public
message ( ) : string|array
Get the validation error message.