Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. Range.php

Range::ERROR_NAMES

Overrides Constraint::ERROR_NAMES

File

vendor/symfony/validator/Constraints/Range.php, line 33

Class

Range
Validates that a given number or DateTime object is between some minimum and maximum.

Namespace

Symfony\Component\Validator\Constraints

Code

protected const ERROR_NAMES = [
    self::INVALID_CHARACTERS_ERROR => 'INVALID_CHARACTERS_ERROR',
    self::NOT_IN_RANGE_ERROR => 'NOT_IN_RANGE_ERROR',
    self::TOO_HIGH_ERROR => 'TOO_HIGH_ERROR',
    self::TOO_LOW_ERROR => 'TOO_LOW_ERROR',
];

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal