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

Breadcrumb

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

function DuplicateKeyException::__construct

@phpstan-param array{line: int} $details

Parameters

string $message:

string $key:

Overrides ParsingException::__construct

File

vendor/seld/jsonlint/src/Seld/JsonLint/DuplicateKeyException.php, line 26

Class

DuplicateKeyException

Namespace

Seld\JsonLint

Code

public function __construct($message, $key, array $details) {
    $details['key'] = $key;
    parent::__construct($message, $details);
}

API Navigation

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