RuleInterface
in
Basic interface for validation rule.
Tags
Table of Contents
Methods
- isValid() : bool
- Check if a given value is valid.
Methods
isValid()
Check if a given value is valid.
public
isValid(mixed $value) : bool
Parameters
- $value : mixed
-
Value to validate.
Return values
bool —True if value is valid, false otherwise.