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

Breadcrumb

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

function Cache::save

Saves the current cache to the filesystem.

Return value

void

1 call to Cache::save()
Runner::run in vendor/squizlabs/php_codesniffer/src/Runner.php
Performs the run.

File

vendor/squizlabs/php_codesniffer/src/Util/Cache.php, line 293

Class

Cache

Namespace

PHP_CodeSniffer\Util

Code

public static function save() {
    file_put_contents(self::$path, json_encode(self::$cache));
}

API Navigation

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