Bluz\Validator\Rule\RuleInterface
Validator Rule Interface
- Author: Anton Shevchuk
Synopsis
interface RuleInterface
extends ValidatorInterface
{
- // methods
- public string __toString()
- public string getDescription()
- public RuleInterface setDescription()
- // Inherited methods from ValidatorInterface
- public bool validate()
- public void assert()
- public bool __invoke()
Hierarchy
Methods
public
- __toString() — Cast to string
- getDescription() — Get error template
- setDescription() — Set error template
Inherited from Bluz\Validator\ValidatorInterface
public
- __invoke() — Invoke
- assert() — Assert
- validate() — Check input data