FileExistRule
in package
implements
Rule
Table of Contents
Interfaces
- Rule
Methods
- message() : string
- Get the validation error message.
- passes() : bool
- Determine if the validation rule passes.
Methods
message()
Get the validation error message.
public
message() : string
Return values
stringpasses()
Determine if the validation rule passes.
public
passes(string $attribute, mixed $value) : bool
Parameters
- $attribute : string
- $value : mixed