function MissingClassDetectionClassLoader::reset

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Component/Discovery/MissingClassDetectionClassLoader.php \Drupal\Component\Discovery\MissingClassDetectionClassLoader::reset()

Resets class variables.

File

core/lib/Drupal/Component/Discovery/MissingClassDetectionClassLoader.php, line 76

Class

MissingClassDetectionClassLoader
Defines a classloader that detects missing classes.

Namespace

Drupal\Component\Discovery

Code

public function reset() : void {
  $this->missingClass = FALSE;
  $this->missingTraits = [];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.