interface
Illuminate
/
Contracts
/
Validation
/
Rule
You are viewing an older version of the documentation. For the latest, please visit master documentation.
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.