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

Breadcrumb

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

Cidr::ERROR_NAMES

Overrides Constraint::ERROR_NAMES

File

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

Class

Cidr
Validates that a value is a valid CIDR notation.

Namespace

Symfony\Component\Validator\Constraints

Code

protected const ERROR_NAMES = [
    self::INVALID_CIDR_ERROR => 'INVALID_CIDR_ERROR',
    self::OUT_OF_RANGE_ERROR => 'OUT_OF_RANGE_VIOLATION',
];

API Navigation

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