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

Breadcrumb

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

function MockBuilder::disableOriginalConstructor

Disables the invocation of the original constructor.

Return value

$this

File

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

Class

MockBuilder
@psalm-template MockedType

Namespace

PHPUnit\Framework\MockObject

Code

public function disableOriginalConstructor() : self {
    $this->originalConstructor = false;
    return $this;
}
RSS feed
Powered by Drupal