Bluz\Validator\Rule\AbstractRule

Abstract validation rule

Synopsis

class AbstractRule {
  • // members
  • protected string $template = '{{name}} has invalid value {{input}}';
}

Members

protected

  • $template — string
    Template for error output - {{name}} - name of field - {{input}} - input value

Methods

public

History