You are here

public function FakeAutoloader::loadClass in Drupal 10

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php \Drupal\Tests\Core\DrupalKernel\FakeAutoloader::loadClass()
  2. 9 core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php \Drupal\Tests\Core\DrupalKernel\FakeAutoloader::loadClass()

Loads the given class or interface.

Return value

null This class never loads.

File

core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php, line 169

Class

FakeAutoloader
A fake autoloader for testing.

Namespace

Drupal\Tests\Core\DrupalKernel

Code

public function loadClass() {
  return NULL;
}