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

Breadcrumb

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

function Exception::__construct

Same name in this branch
  1. 11.1.x vendor/phpunit/phpunit/src/Framework/MockObject/Runtime/Stub/Exception.php \PHPUnit\Framework\MockObject\Stub\Exception::__construct()
  2. 11.1.x vendor/phpunit/phpunit/src/Framework/Exception/Exception.php \PHPUnit\Framework\Exception::__construct()
  3. 11.1.x vendor/mck89/peast/lib/Peast/Syntax/Exception.php \Peast\Syntax\Exception::__construct()

File

vendor/phpunit/phpunit/src/Framework/Constraint/Exception/Exception.php, line 25

Class

Exception
@no-named-arguments Parameter names are not covered by the backward compatibility promise for PHPUnit

Namespace

PHPUnit\Framework\Constraint

Code

public function __construct(string $className) {
    $this->className = $className;
}
RSS feed
Powered by Drupal