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\ConstraintsCode
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;
}