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

Breadcrumb

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

function MockBuilder::__construct

@psalm-param class-string|trait-string $type

File

vendor/phpunit/phpunit/src/Framework/MockObject/MockBuilder.php, line 70

Class

MockBuilder
@psalm-template MockedType

Namespace

PHPUnit\Framework\MockObject

Code

public function __construct(TestCase $testCase, string $type) {
    $this->testCase = $testCase;
    $this->type = $type;
    $this->generator = new Generator();
}
RSS feed
Powered by Drupal