You are here

public function LicenseFileManager::resetCache in Commerce File 8.2

Resets the internal static cache of licenses.

Overrides LicenseFileManagerInterface::resetCache

File

src/LicenseFileManager.php, line 220

Class

LicenseFileManager
Provides a service for managing licensed files.

Namespace

Drupal\commerce_file

Code

public function resetCache() {
  $this->isLicensable = [];
  $this->licenses = [];
}