You are here

public function SwaggerUiLibraryDiscovery::reset in Swagger UI Field Formatter 8.3

Clears internal cache.

File

src/Service/SwaggerUiLibraryDiscovery.php, line 175

Class

SwaggerUiLibraryDiscovery
Default Swagger UI library discovery service implementation.

Namespace

Drupal\swagger_ui_formatter\Service

Code

public function reset() : void {
  $this->cache
    ->delete(self::LIBRARY_PATH_CID);
}