function MissingClassDetectionClassLoader::hasMissingClass

Returns whether there was an attempt to load a missing class.

Return value

bool TRUE if there was an attempt to load a missing class, otherwise FALSE.

File

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

Class

MissingClassDetectionClassLoader
Defines a classloader that detects missing classes.

Namespace

Drupal\Component\Discovery

Code

public function hasMissingClass() : bool {
    return $this->missingClass;
}

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