public function FakeAutoloader::unregister in Drupal 10
Same name and namespace in other branches
- 8 core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php \Drupal\Tests\Core\DrupalKernel\FakeAutoloader::unregister()
- 9 core/tests/Drupal/Tests/Core/DrupalKernel/DrupalKernelTest.php \Drupal\Tests\Core\DrupalKernel\FakeAutoloader::unregister()
Unregisters this instance as an autoloader.
File
- core/
tests/ Drupal/ Tests/ Core/ DrupalKernel/ DrupalKernelTest.php, line 159
Class
- FakeAutoloader
- A fake autoloader for testing.
Namespace
Drupal\Tests\Core\DrupalKernelCode
public function unregister() {
spl_autoload_unregister([
$this,
'loadClass',
]);
}