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

Breadcrumb

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

function Issn::__construct

Parameters

array<string,mixed>|null $options:

bool|null $caseSensitive Whether to allow the value to end with a lowercase character (defaults to false):

bool|null $requireHyphen Whether to require a hyphenated ISSN value (defaults to false):

string[]|null $groups:

Overrides Constraint::__construct

File

vendor/symfony/validator/Constraints/Issn.php, line 53

Class

Issn
Validates that a value is a valid International Standard Serial Number (ISSN).

Namespace

Symfony\Component\Validator\Constraints

Code

public function __construct(?array $options = null, ?string $message = null, ?bool $caseSensitive = null, ?bool $requireHyphen = null, ?array $groups = null, mixed $payload = null) {
    parent::__construct($options, $groups, $payload);
    $this->message = $message ?? $this->message;
    $this->caseSensitive = $caseSensitive ?? $this->caseSensitive;
    $this->requireHyphen = $requireHyphen ?? $this->requireHyphen;
}

API Navigation

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