Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ClassDiscovery.php

function ClassDiscovery::clearCache

3 calls to ClassDiscovery::clearCache()
ClassDiscovery::appendStrategy in vendor/php-http/discovery/src/ClassDiscovery.php
Append a strategy at the end of the strategy queue.
ClassDiscovery::prependStrategy in vendor/php-http/discovery/src/ClassDiscovery.php
Prepend a strategy at the beginning of the strategy queue.
ClassDiscovery::setStrategies in vendor/php-http/discovery/src/ClassDiscovery.php
Set new strategies and clear the cache.

File

vendor/php-http/discovery/src/ClassDiscovery.php, line 174

Class

ClassDiscovery
Registry that based find results on class existence.

Namespace

Http\Discovery

Code

public static function clearCache() {
    self::$cache = [];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal