function FakeAutoloader::unregister
Deregisters this instance as an autoloader.
File
-
core/
tests/ Drupal/ Tests/ Core/ DrupalKernel/ DrupalKernelTest.php, line 179
Class
- FakeAutoloader
- A fake autoloader for testing.
Namespace
Drupal\Tests\Core\DrupalKernelCode
public function unregister() : void {
spl_autoload_unregister([
$this,
'loadClass',
]);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.