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

Breadcrumb

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

function UnexpectedValueException::__construct

Overrides UnexpectedTypeException::__construct

File

vendor/symfony/validator/Exception/UnexpectedValueException.php, line 19

Class

UnexpectedValueException
@author Christian Flothmann <christian.flothmann@sensiolabs.de>

Namespace

Symfony\Component\Validator\Exception

Code

public function __construct(mixed $value, string $expectedType) {
    parent::__construct($value, $expectedType);
}

API Navigation

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