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

Breadcrumb

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

function ConfigurationException::__construct

File

vendor/sebastian/diff/src/Exception/ConfigurationException.php, line 19

Class

ConfigurationException

Namespace

SebastianBergmann\Diff

Code

public function __construct(string $option, string $expected, $value, int $code = 0, ?Exception $previous = null) {
    parent::__construct(sprintf('Option "%s" must be %s, got "%s".', $option, $expected, is_object($value) ? $value::class : (null === $value ? '<null>' : gettype($value) . '#' . $value)), $code, $previous);
}

API Navigation

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