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

Breadcrumb

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

function MockBuilder::disableAutoload

Disables the use of class autoloading while creating the mock object.

@codeCoverageIgnore

Return value

$this

Deprecated

https://github.com/sebastianbergmann/phpunit/issues/5309

File

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

Class

MockBuilder
@psalm-template MockedType

Namespace

PHPUnit\Framework\MockObject

Code

public function disableAutoload() : self {
    $this->autoload = false;
    return $this;
}

API Navigation

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