function FakeAutoloader::loadClass
Same name in other branches
- 8.9.x core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php \Drupal\Tests\Core\DrupalKernel\FakeAutoloader::loadClass()
- 10 core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php \Drupal\Tests\Core\DrupalKernel\FakeAutoloader::loadClass()
- 11.x 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 184
Class
- FakeAutoloader
- A fake autoloader for testing.
Namespace
Drupal\Tests\Core\DrupalKernelCode
public function loadClass() {
return NULL;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.