Overview

Namespaces

  • Faulancer
    • Controller
    • Exception
    • Form
      • Validator
        • Type
    • Helper
      • Reflection
    • Http
    • Mail
    • ORM
      • User
    • Service
      • Factory
    • ServiceLocator
    • Session
    • View
      • Helper

Classes

  • AbstractValidator
  • Overview
  • Namespace
  • Class

Class AbstractValidator

Class AbstractValidator

Direct known subclasses

Faulancer\Form\Validator\Type\DateTime, Faulancer\Form\Validator\Type\Email, Faulancer\Form\Validator\Type\Image, Faulancer\Form\Validator\Type\Number, Faulancer\Form\Validator\Type\Text
Abstract
Namespace: Faulancer\Form\Validator
Located at Form/Validator/AbstractValidator.php
Methods summary
public string
# getMessage( )

Return the error message

Return the error message

Returns

string
abstract public mixed
# process( mixed $data )

Init method which must be implemented by every validator

Init method which must be implemented by every validator

Parameters

$data

Returns

mixed
Properties summary
protected string $errorMessage

Define the error message in case of validation fails

Define the error message in case of validation fails

# ''
API documentation generated by ApiGen