Kajona\System\System\Validators\TextValidator

A simple validator to validate a string.

By default, the string must contain a single char, the max length is unlimited.

Synopsis

class TextValidator implements ValidatorInterface {
}

Hierarchy

Tasks

Line Task
37 does not makes sense here as the else part will never be reached?extract intMax to class variable?

Methods

public

  • validate() — Validates the passed chunk of data.