function YamlCacheCollectorDiscovery::__destruct

Calls cache collector ::destruct() method when this goes out of scope.

File

core/lib/Drupal/Core/Discovery/YamlCacheCollectorDiscovery.php, line 64

Class

YamlCacheCollectorDiscovery
Provides discovery for YAML files within a given set of directories.

Namespace

Drupal\Core\Discovery

Code

public function __destruct() {
  $this->yamlCacheCollector
    ->destruct();
}

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