Kajona\System\System\Validators\CharacterValidator

A simple validator to validate if a value is a single caracter.

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

Synopsis

class CharacterValidator implements ValidatorInterface {
}

Hierarchy

Methods

public

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