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

Breadcrumb

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

function CompilingMatcher::clear

Clears the memoization cache once you are done

Return value

void

1 call to CompilingMatcher::clear()
Installer::doUpdate in vendor/composer/composer/src/Composer/Installer.php
@phpstan-return self::ERROR_*

File

vendor/composer/semver/src/CompilingMatcher.php, line 53

Class

CompilingMatcher
Helper class to evaluate constraint by compiling and reusing the code to evaluate

Namespace

Composer\Semver

Code

public static function clear() {
    self::$resultCache = array();
    self::$compiledCheckerCache = array();
}

API Navigation

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