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

Breadcrumb

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

Length::VALID_COUNT_UNITS

File

vendor/symfony/validator/Constraints/Length.php, line 42

Class

Length
Validates that a given string length is between some minimum and maximum value.

Namespace

Symfony\Component\Validator\Constraints

Code

private const VALID_COUNT_UNITS = [
    self::COUNT_BYTES,
    self::COUNT_CODEPOINTS,
    self::COUNT_GRAPHEMES,
];

API Navigation

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