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

Breadcrumb

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

CardScheme::ERROR_NAMES

Overrides Constraint::ERROR_NAMES

File

vendor/symfony/validator/Constraints/CardScheme.php, line 41

Class

CardScheme
Validates a credit card number for a given credit card company.

Namespace

Symfony\Component\Validator\Constraints

Code

protected const ERROR_NAMES = [
    self::NOT_NUMERIC_ERROR => 'NOT_NUMERIC_ERROR',
    self::INVALID_FORMAT_ERROR => 'INVALID_FORMAT_ERROR',
];

API Navigation

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