function AnnotationRegistry::reset

3 calls to AnnotationRegistry::reset()
AnnotatedClassDiscovery::getDefinitions in core/lib/Drupal/Component/Annotation/Plugin/Discovery/AnnotatedClassDiscovery.php
Gets the definition of all plugins for this type.
AnnotatedClassDiscoveryAutomatedProviders::getDefinitions in core/modules/migrate/src/Plugin/Discovery/AnnotatedClassDiscoveryAutomatedProviders.php
Gets the definition of all plugins for this type.
AttributeDiscoveryWithAnnotations::getDefinitions in core/lib/Drupal/Core/Plugin/Discovery/AttributeDiscoveryWithAnnotations.php
Gets the definition of all plugins for this type.

File

core/lib/Drupal/Component/Annotation/Doctrine/AnnotationRegistry.php, line 40

Class

AnnotationRegistry

Namespace

Drupal\Component\Annotation\Doctrine

Code

public static function reset() : void {
  self::$failedToAutoload = [];
}

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